#C04271#C04271
#C04271 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.8% C 0.166 H 0.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #C04271 |
|---|---|
| RGB | rgb(192, 66, 113) |
| HSL | hsl(338, 50%, 51%) |
| HSV | hsv(338, 66%, 75%) |
| CMYK | cmyk(0%, 65.6%, 41.1%, 24.7%) |
| CIE-LAB | lab(47.36, 54.22, 0.80) |
| CIE-LCH | lch(47.36, 54.22, 0.84°) |
| OKLab | oklab(56.78% 0.1658 0.0027) |
| OKLCH | oklch(56.78% 0.166 0.9) |
| XYZ | xyz(26.6689, 16.2983, 17.3611) |
| Luminance | 0.1630 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.43
Deep Rose
#C74767
ΔE00 4.66
Darkish Pink
#DA467D
ΔE00 5.73
Dark Hot Pink
#D90166
ΔE00 5.77
Deep Pink
#CB0162
ΔE00 5.87
Dark Rose
#B5485D
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C04271 #42C091
analogous
#C042B0 #C04271 #C05242
triadic
#C04271 #71C042 #4271C0
tetradic
#C04271 #B0C042 #42C091 #5242C0
square
#C04271 #B0C042 #42C091 #5242C0
split-complementary
#C04271 #42C052 #42B0C0
monochromatic
#66223B #943156 #C04271 #CF7093 #DF9EB6
Accessibility & contrast
On white
4.93
#C04271 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#C04271 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C04271
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C04271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C04271 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B6172
Deuteranopia (green-blind)
#7C796E
Tritanopia (blue-blind)
#D03455
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #c04271; /* rgb */ color: rgb(192, 66, 113); /* oklch */ color: oklch(56.8% 0.166 0.9);
Tailwind
colors: {
custom: {
50: '#d87e99',
500: '#c04271',
950: '#000000',
},
}SCSS
$custom: #c04271; $custom-light: #d87e99; $custom-dark: #000000;
JSON
{
"hex": "#c04271",
"rgb": {
"r": 192,
"g": 66,
"b": 113
},
"hsl": {
"h": 337.619,
"s": 50,
"l": 50.588
},
"oklch": {
"l": 0.56783,
"c": 0.16584,
"h": 0.9
},
"luminance": 0.16295
}Semantic roles & 50–950 ramp
primary
#C04271
secondary
#93CBB6
accent
#DAA64E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E