#C4257F#C4257F
#C4257F is a mid, highly saturated pink. Relative luminance 0.146; OKLCH L 55.4% C 0.206 H 352.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #C4257F |
|---|---|
| RGB | rgb(196, 37, 127) |
| HSL | hsl(326, 68%, 46%) |
| HSV | hsv(326, 81%, 77%) |
| CMYK | cmyk(0%, 81.1%, 35.2%, 23.1%) |
| CIE-LAB | lab(45.07, 66.48, -11.08) |
| CIE-LCH | lch(45.07, 67.40, 350.53°) |
| OKLab | oklab(55.38% 0.2042 -0.0286) |
| OKLCH | oklch(55.38% 0.206 352) |
| XYZ | xyz(27.2590, 14.5946, 21.4561) |
| Luminance | 0.1459 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 1.80
Magenta (survey)
#C20078
ΔE00 2.64
Deep Pink
#CB0162
ΔE00 6.92
Dark Hot Pink
#D90166
ΔE00 7.89
Dark Pink
#CB416B
ΔE00 9.08
Red Violet
#9E0168
ΔE00 9.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4257F #25C46A
analogous
#B925C4 #C4257F #C4252F
triadic
#C4257F #7FC425 #257FC4
tetradic
#C4257F #C4B925 #25C46A #252FC4
square
#C4257F #C4B925 #25C46A #252FC4
split-complementary
#C4257F #2FC425 #25C4B9
monochromatic
#5D123C #911B5E #C4257F #DD499D #E67DB9
Accessibility & contrast
On white
5.36
#C4257F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#C4257F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C4257F
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4257F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C4257F | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#455981
Deuteranopia (green-blind)
#73757C
Tritanopia (blue-blind)
#D31050
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #c4257f; /* rgb */ color: rgb(196, 37, 127); /* oklch */ color: oklch(55.4% 0.206 352.0);
Tailwind
colors: {
custom: {
50: '#db72a4',
500: '#c4257f',
950: '#000000',
},
}SCSS
$custom: #c4257f; $custom-light: #db72a4; $custom-dark: #000000;
JSON
{
"hex": "#c4257f",
"rgb": {
"r": 196,
"g": 37,
"b": 127
},
"hsl": {
"h": 326.038,
"s": 68.24,
"l": 45.686
},
"oklch": {
"l": 0.55383,
"c": 0.20624,
"h": 352
},
"luminance": 0.14591
}Semantic roles & 50–950 ramp
primary
#C4257F
secondary
#76CF9D
accent
#EB883D
background
#FEF7FA
surface
#FCEDF4
border
#D5C8CE
text
#16090F
muted
#847B7F