#C5286A#C5286A
#C5286A is a mid, vivid pink. Relative luminance 0.144; OKLCH L 55.0% C 0.196 H 1.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #C5286A |
|---|---|
| RGB | rgb(197, 40, 106) |
| HSL | hsl(335, 66%, 46%) |
| HSV | hsv(335, 80%, 77%) |
| CMYK | cmyk(0%, 79.7%, 46.2%, 22.7%) |
| CIE-LAB | lab(44.85, 63.91, 1.55) |
| CIE-LCH | lch(44.85, 63.93, 1.39°) |
| OKLab | oklab(55.03% 0.1963 0.0047) |
| OKLCH | oklch(55.03% 0.196 1.4) |
| XYZ | xyz(26.3885, 14.4321, 15.0290) |
| Luminance | 0.1443 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 2.49
Dark Hot Pink
#D90166
ΔE00 3.77
Dark Pink
#CB416B
ΔE00 5.10
Cerise
#DE0C62
ΔE00 5.57
Magenta (survey)
#C20078
ΔE00 5.70
Deep Rose
#C74767
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5286A #28C583
analogous
#C528B9 #C5286A #C53528
triadic
#C5286A #6AC528 #286AC5
tetradic
#C5286A #B9C528 #28C583 #3528C5
square
#C5286A #B9C528 #28C583 #3528C5
split-complementary
#C5286A #28C535 #28B9C5
monochromatic
#5F1333 #921E4F #C5286A #DB4F8A #E682AC
Accessibility & contrast
On white
5.40
#C5286A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#C5286A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5286A
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5286A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5286A | 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)
#4F576B
Deuteranopia (green-blind)
#797566
Tritanopia (blue-blind)
#D60046
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c5286a; /* rgb */ color: rgb(197, 40, 106); /* oklch */ color: oklch(55.0% 0.196 1.4);
Tailwind
colors: {
custom: {
50: '#dd7394',
500: '#c5286a',
950: '#000000',
},
}SCSS
$custom: #c5286a; $custom-light: #dd7394; $custom-dark: #000000;
JSON
{
"hex": "#c5286a",
"rgb": {
"r": 197,
"g": 40,
"b": 106
},
"hsl": {
"h": 334.777,
"s": 66.245,
"l": 46.471
},
"oklch": {
"l": 0.55026,
"c": 0.19638,
"h": 1.4
},
"luminance": 0.14429
}Semantic roles & 50–950 ramp
primary
#C5286A
secondary
#7ACEAB
accent
#E9A13F
background
#FEF7F9
surface
#FDEDF1
border
#D5C8CB
text
#16090D
muted
#847B7E