#C23871#C23871
#C23871 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.1% C 0.180 H 359.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #C23871 |
|---|---|
| RGB | rgb(194, 56, 113) |
| HSL | hsl(335, 55%, 49%) |
| HSV | hsv(335, 71%, 76%) |
| CMYK | cmyk(0%, 71.1%, 41.8%, 23.9%) |
| CIE-LAB | lab(46.30, 58.69, -0.71) |
| CIE-LCH | lch(46.30, 58.70, 359.31°) |
| OKLab | oklab(56.06% 0.18 -0.0012) |
| OKLCH | oklch(56.06% 0.18 359.6) |
| XYZ | xyz(26.6449, 15.4933, 17.2070) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 4.49
Deep Pink
#CB0162
ΔE00 4.67
Dark Hot Pink
#D90166
ΔE00 5.07
Deep Rose
#C74767
ΔE00 5.95
Magenta (survey)
#C20078
ΔE00 6.16
Cerise
#DE0C62
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C23871 #38C289
analogous
#C238B6 #C23871 #C24438
triadic
#C23871 #71C238 #3871C2
tetradic
#C23871 #B6C238 #38C289 #4438C2
square
#C23871 #B6C238 #38C289 #4438C2
split-complementary
#C23871 #38C244 #38B6C2
monochromatic
#631D3A #932A55 #C23871 #D26592 #E094B4
Accessibility & contrast
On white
5.12
#C23871 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#C23871 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C23871
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C23871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C23871 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#555D72
Deuteranopia (green-blind)
#7A776E
Tritanopia (blue-blind)
#D22550
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #c23871; /* rgb */ color: rgb(194, 56, 113); /* oklch */ color: oklch(56.1% 0.180 359.6);
Tailwind
colors: {
custom: {
50: '#da7999',
500: '#c23871',
950: '#000000',
},
}SCSS
$custom: #c23871; $custom-light: #da7999; $custom-dark: #000000;
JSON
{
"hex": "#c23871",
"rgb": {
"r": 194,
"g": 56,
"b": 113
},
"hsl": {
"h": 335.217,
"s": 55.2,
"l": 49.02
},
"oklch": {
"l": 0.56064,
"c": 0.17996,
"h": 359.6
},
"luminance": 0.1549
}Semantic roles & 50–950 ramp
primary
#C23871
secondary
#8ACBB1
accent
#DFA149
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E