#C5286B#C5286B
#C5286B is a mid, vivid pink. Relative luminance 0.144; OKLCH L 55.1% C 0.197 H 0.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #C5286B |
|---|---|
| RGB | rgb(197, 40, 107) |
| HSL | hsl(334, 66%, 46%) |
| HSV | hsv(334, 80%, 77%) |
| CMYK | cmyk(0%, 79.7%, 45.7%, 22.7%) |
| CIE-LAB | lab(44.88, 64.00, 0.97) |
| CIE-LCH | lch(44.88, 64.01, 0.87°) |
| OKLab | oklab(55.06% 0.1967 0.0032) |
| OKLCH | oklch(55.06% 0.197 0.9) |
| XYZ | xyz(26.4408, 14.4530, 15.3045) |
| Luminance | 0.1445 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 2.64
Dark Hot Pink
#D90166
ΔE00 3.90
Dark Pink
#CB416B
ΔE00 5.23
Magenta (survey)
#C20078
ΔE00 5.48
Cerise
#DE0C62
ΔE00 5.74
Deep Rose
#C74767
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5286B #28C582
analogous
#C528BA #C5286B #C53428
triadic
#C5286B #6BC528 #286BC5
tetradic
#C5286B #BAC528 #28C582 #3428C5
square
#C5286B #BAC528 #28C582 #3428C5
split-complementary
#C5286B #28C534 #28BAC5
monochromatic
#5F1334 #921E4F #C5286B #DB4F8B #E682AC
Accessibility & contrast
On white
5.40
#C5286B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#C5286B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5286B
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5286B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5286B | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F576D
Deuteranopia (green-blind)
#797567
Tritanopia (blue-blind)
#D60046
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c5286b; /* rgb */ color: rgb(197, 40, 107); /* oklch */ color: oklch(55.1% 0.197 0.9);
Tailwind
colors: {
custom: {
50: '#dd7395',
500: '#c5286b',
950: '#000000',
},
}SCSS
$custom: #c5286b; $custom-light: #dd7395; $custom-dark: #000000;
JSON
{
"hex": "#c5286b",
"rgb": {
"r": 197,
"g": 40,
"b": 107
},
"hsl": {
"h": 334.395,
"s": 66.245,
"l": 46.471
},
"oklch": {
"l": 0.55057,
"c": 0.19669,
"h": 0.9
},
"luminance": 0.14449
}Semantic roles & 50–950 ramp
primary
#C5286B
secondary
#7ACEAB
accent
#E9A03F
background
#FEF7F9
surface
#FDEDF1
border
#D5C8CB
text
#16090D
muted
#847B7E