#C5286F#C5286F
#C5286F is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.2% C 0.198 H 359.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #C5286F |
|---|---|
| RGB | rgb(197, 40, 111) |
| HSL | hsl(333, 66%, 46%) |
| HSV | hsv(333, 80%, 77%) |
| CMYK | cmyk(0%, 79.7%, 43.7%, 22.7%) |
| CIE-LAB | lab(45.00, 64.37, -1.33) |
| CIE-LCH | lch(45.00, 64.38, 358.82°) |
| OKLab | oklab(55.18% 0.198 -0.0027) |
| OKLCH | oklch(55.18% 0.198 359.2) |
| XYZ | xyz(26.6561, 14.5392, 16.4385) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.36
Dark Hot Pink
#D90166
ΔE00 4.52
Magenta (survey)
#C20078
ΔE00 4.66
Mediumvioletred
#C71585
ΔE00 5.67
Dark Pink
#CB416B
ΔE00 5.80
Cerise
#DE0C62
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5286F #28C57E
analogous
#C528BE #C5286F #C52F28
triadic
#C5286F #6FC528 #286FC5
tetradic
#C5286F #BEC528 #28C57E #2F28C5
square
#C5286F #BEC528 #28C57E #2F28C5
split-complementary
#C5286F #28C52F #28BEC5
monochromatic
#5F1336 #921E52 #C5286F #DB4F8E #E682AF
Accessibility & contrast
On white
5.37
#C5286F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#C5286F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5286F
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5286F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5286F | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5771
Deuteranopia (green-blind)
#78756B
Tritanopia (blue-blind)
#D60048
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c5286f; /* rgb */ color: rgb(197, 40, 111); /* oklch */ color: oklch(55.2% 0.198 359.2);
Tailwind
colors: {
custom: {
50: '#dc7398',
500: '#c5286f',
950: '#000000',
},
}SCSS
$custom: #c5286f; $custom-light: #dc7398; $custom-dark: #000000;
JSON
{
"hex": "#c5286f",
"rgb": {
"r": 197,
"g": 40,
"b": 111
},
"hsl": {
"h": 332.866,
"s": 66.245,
"l": 46.471
},
"oklch": {
"l": 0.55185,
"c": 0.19798,
"h": 359.2
},
"luminance": 0.14536
}Semantic roles & 50–950 ramp
primary
#C5286F
secondary
#7ACEA8
accent
#E99C3F
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090D
muted
#847B7E