#C4287F#C4287F
#C4287F is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.6% C 0.204 H 352.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #C4287F |
|---|---|
| RGB | rgb(196, 40, 127) |
| HSL | hsl(327, 66%, 46%) |
| HSV | hsv(327, 80%, 77%) |
| CMYK | cmyk(0%, 79.6%, 35.2%, 23.1%) |
| CIE-LAB | lab(45.34, 65.71, -10.68) |
| CIE-LCH | lch(45.34, 66.57, 350.77°) |
| OKLab | oklab(55.58% 0.2018 -0.0275) |
| OKLCH | oklch(55.58% 0.204 352.2) |
| XYZ | xyz(27.3562, 14.7890, 21.4885) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 2.08
Magenta (survey)
#C20078
ΔE00 2.94
Deep Pink
#CB0162
ΔE00 6.88
Dark Hot Pink
#D90166
ΔE00 7.77
Dark Pink
#CB416B
ΔE00 8.81
Darkish Pink
#DA467D
ΔE00 9.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4287F #28C46D
analogous
#BB28C4 #C4287F #C42831
triadic
#C4287F #7FC428 #287FC4
tetradic
#C4287F #C4BB28 #28C46D #2831C4
square
#C4287F #C4BB28 #28C46D #2831C4
split-complementary
#C4287F #31C428 #28C4BB
monochromatic
#5E133D #911E5E #C4287F #DB4E9D #E581B9
Accessibility & contrast
On white
5.31
#C4287F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#C4287F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C4287F
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4287F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C4287F | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#475981
Deuteranopia (green-blind)
#73757C
Tritanopia (blue-blind)
#D31651
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #c4287f; /* rgb */ color: rgb(196, 40, 127); /* oklch */ color: oklch(55.6% 0.204 352.2);
Tailwind
colors: {
custom: {
50: '#db73a4',
500: '#c4287f',
950: '#000000',
},
}SCSS
$custom: #c4287f; $custom-light: #db73a4; $custom-dark: #000000;
JSON
{
"hex": "#c4287f",
"rgb": {
"r": 196,
"g": 40,
"b": 127
},
"hsl": {
"h": 326.538,
"s": 66.102,
"l": 46.275
},
"oklch": {
"l": 0.5558,
"c": 0.20366,
"h": 352.2
},
"luminance": 0.14786
}Semantic roles & 50–950 ramp
primary
#C4287F
secondary
#7ACE9F
accent
#E98A3F
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#16090F
muted
#847B7F