#cf897c
a balanced, vivid red · warm · closest name: Dark Salmon
At a glance
Every number on this page in one read: what #cf897c is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #cf897c |
| RGB | rgb(207, 137, 124) |
| HSL | hsl(9, 46%, 65%) |
| CMYK | cmyk(0%, 34%, 40%, 19%) |
| LAB | lab(63.9 25.2 18.0) |
| LCH | lch(63.9 30.9 35.5) |
| OKLCH | oklch(0.698 0.089 31.0) |
| Decimal | 13601148 |
| Display P3 | color(display-p3 0.812 0.537 0.486) |
Copy-ready code
/* CSS */
color: #cf897c;
background-color: #cf897c;
/* Tailwind (arbitrary) */
class="text-[#cf897c] bg-[#cf897c]"
/* SCSS */
$brand: #cf897c;
/* SwiftUI */
Color(red: 0.812, green: 0.537, blue: 0.486)
/* Android */
Color.parseColor("#cf897c")
/* Flutter */
Color(0xFFCF897C)
/* Python / OpenCV (BGR) */
(124, 137, 207)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #cf897c is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FAF5F5;
--brand-100: #F5ECEA;
--brand-200: #EBD5D0;
--brand-300: #E1B5AD;
--brand-400: #cf897c;
--brand-500: #C36B5B;
--brand-600: #B35342;
--brand-700: #954637;
--brand-800: #77382C;
--brand-900: #572B23;
--brand-950: #371B16;
--brand: #cf897c;
--brand-ink: #000000;
}Colors that work with #cf897c
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #cf897c
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠Pairing with a same-lightness hue — edges vibrate
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #7CC2CF | Directly opposite — maximum tension | |
| Analogous left | #CF7C98 | Neighbour, quieter | |
| Analogous right | #CFB37C | Neighbour, quieter | |
| Split-complement 1 | #7CCFB3 | Contrast without the clash | |
| Split-complement 2 | #7C98CF | Contrast without the clash | |
| Triadic 1 | #7CCF89 | Even thirds — balanced and loud | |
| Triadic 2 | #897CCF | Even thirds — balanced and loud | |
| Tetradic | #98CF7C | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#cf897c text on a black background
contrast 7.52:1
#cf897c text on a white background
contrast 2.79:1
CSS3 live lab
The quick brown fox
color: #cf897c;
background-color: #cf897c;
Glowing headline
text-shadow: 2px 2px 8px #cf897c;
Soft neon halo
text-shadow: 0 0 14px rgba(207, 137, 124, 0.45);
box-shadow: 0 12px 32px -8px rgba(207, 137, 124, 0.45);
border: 3px solid #cf897c; background: linear-gradient(135deg, #cf897c, #CFC07C);
Monochromatic scale
Palettes built from #cf897c
Shades — darker
Tints — lighter
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Terracotta (#e2725b) — ΔE2000 8.2 away, with its history, psychology and brand usage.
#cf897c in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#cf897c, answered
What color is #cf897c?
#cf897c is a balanced vivid red, closest to Dark Salmon (ΔE2000 7.1). It sits at 9° on the hue wheel with 46% saturation and 65% lightness, which reads as warm.
What is the RGB value of #cf897c?
rgb(207, 137, 124) — 207 red, 137 green and 124 blue out of 255, or 81.2% / 53.7% / 48.6% by channel.
Is #cf897c a light or a dark color?
It is a mid-tone. Relative luminance is 0.3261 and perceived brightness is 63%, so black text on it reaches 7.52:1.
Should I use black or white text on #cf897c?
Black. It scores 7.52:1 against #cf897c, versus 2.79:1 for white — AAA at any size.
What is the complementary color of #cf897c?
#7CC2CF sits directly opposite on the wheel. Softer options are the split-complements #7CCFB3 and #7C98CF, which give the same contrast with far less vibration.
What colors go well with #cf897c?
For interface work: #FAF5F4 as the surface, #E9C9C3 for borders, #9B574B for secondary text, #329A90 as an accent and #5D2B22 for hover and pressed states. For a palette, the analogous pair #CF7C98 and #CFB37C stays calm, while #7CC2CF is the loudest partner.
What is #cf897c in CMYK for printing?
cmyk(0%, 34%, 40%, 19%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #cf897c warm or cool?
Warm — it scores 11 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF997C; nudged cooler, #D17A8C.