#C2337F#C2337F
#C2337F is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.1% C 0.191 H 352.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #C2337F |
|---|---|
| RGB | rgb(194, 51, 127) |
| HSL | hsl(328, 58%, 48%) |
| HSV | hsv(328, 74%, 76%) |
| CMYK | cmyk(0%, 73.7%, 34.5%, 23.9%) |
| CIE-LAB | lab(46.14, 61.91, -9.52) |
| CIE-LCH | lch(46.14, 62.63, 351.26°) |
| OKLab | oklab(56.09% 0.1897 -0.0245) |
| OKLCH | oklch(56.09% 0.191 352.7) |
| XYZ | xyz(27.2644, 15.3725, 21.6060) |
| Luminance | 0.1537 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.21
Magenta (survey)
#C20078
ΔE00 4.09
Deep Pink
#CB0162
ΔE00 7.03
Dark Hot Pink
#D90166
ΔE00 7.69
Dark Pink
#CB416B
ΔE00 8.03
Darkish Pink
#DA467D
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2337F #33C276
analogous
#BD33C2 #C2337F #C23337
triadic
#C2337F #7FC233 #337FC2
tetradic
#C2337F #C2BD33 #33C276 #3337C2
square
#C2337F #C2BD33 #33C276 #3337C2
split-complementary
#C2337F #37C233 #33C2BD
monochromatic
#611A40 #92265F #C2337F #D55E9D #E18EBA
Accessibility & contrast
On white
5.15
#C2337F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#C2337F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C2337F
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2337F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C2337F | 1.00 | 5.15 | 4.07 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5D81
Deuteranopia (green-blind)
#75777C
Tritanopia (blue-blind)
#D12755
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #c2337f; /* rgb */ color: rgb(194, 51, 127); /* oklch */ color: oklch(56.1% 0.191 352.7);
Tailwind
colors: {
custom: {
50: '#d977a4',
500: '#c2337f',
950: '#000000',
},
}SCSS
$custom: #c2337f; $custom-light: #d977a4; $custom-dark: #000000;
JSON
{
"hex": "#c2337f",
"rgb": {
"r": 194,
"g": 51,
"b": 127
},
"hsl": {
"h": 328.112,
"s": 58.367,
"l": 48.039
},
"oklch": {
"l": 0.56094,
"c": 0.19126,
"h": 352.7
},
"luminance": 0.15369
}Semantic roles & 50–950 ramp
primary
#C2337F
secondary
#85CCA6
accent
#E28F46
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F