#C5236F#C5236F
#C5236F is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 54.9% C 0.202 H 358.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #C5236F |
|---|---|
| RGB | rgb(197, 35, 111) |
| HSL | hsl(332, 70%, 45%) |
| HSV | hsv(332, 82%, 77%) |
| CMYK | cmyk(0%, 82.2%, 43.7%, 22.7%) |
| CIE-LAB | lab(44.55, 65.64, -1.98) |
| CIE-LCH | lch(44.55, 65.67, 358.27°) |
| OKLab | oklab(54.86% 0.202 -0.0044) |
| OKLCH | oklch(54.86% 0.202 358.7) |
| XYZ | xyz(26.4983, 14.2237, 16.3859) |
| Luminance | 0.1422 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.32
Magenta (survey)
#C20078
ΔE00 4.13
Dark Hot Pink
#D90166
ΔE00 4.74
Mediumvioletred
#C71585
ΔE00 5.33
Dark Pink
#CB416B
ΔE00 6.37
Cerise
#DE0C62
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5236F #23C579
analogous
#C523C0 #C5236F #C52823
triadic
#C5236F #6FC523 #236FC5
tetradic
#C5236F #C0C523 #23C579 #2823C5
square
#C5236F #C0C523 #23C579 #2823C5
split-complementary
#C5236F #23C528 #23C0C5
monochromatic
#5D1134 #911A52 #C5236F #DE478E #E87BAE
Accessibility & contrast
On white
5.46
#C5236F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#C5236F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5236F
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5236F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5236F | 1.00 | 5.46 | 3.84 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5671
Deuteranopia (green-blind)
#77746B
Tritanopia (blue-blind)
#D60047
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #c5236f; /* rgb */ color: rgb(197, 35, 111); /* oklch */ color: oklch(54.9% 0.202 358.7);
Tailwind
colors: {
custom: {
50: '#dd7198',
500: '#c5236f',
950: '#000000',
},
}SCSS
$custom: #c5236f; $custom-light: #dd7198; $custom-dark: #000000;
JSON
{
"hex": "#c5236f",
"rgb": {
"r": 197,
"g": 35,
"b": 111
},
"hsl": {
"h": 331.852,
"s": 69.828,
"l": 45.49
},
"oklch": {
"l": 0.5486,
"c": 0.20209,
"h": 358.7
},
"luminance": 0.1422
}Semantic roles & 50–950 ramp
primary
#C5236F
secondary
#74CFA5
accent
#ED993B
background
#FEF7F9
surface
#FDEDF2
border
#D5C8CC
text
#16090D
muted
#847B7E