#C4335F#C4335F
#C4335F is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.4% C 0.182 H 7.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #C4335F |
|---|---|
| RGB | rgb(196, 51, 95) |
| HSL | hsl(342, 59%, 48%) |
| HSV | hsv(342, 74%, 77%) |
| CMYK | cmyk(0%, 74%, 51.5%, 23.1%) |
| CIE-LAB | lab(45.54, 59.37, 9.33) |
| CIE-LCH | lch(45.54, 60.10, 8.93°) |
| OKLab | oklab(55.41% 0.1809 0.0241) |
| OKLCH | oklch(55.41% 0.182 7.6) |
| XYZ | xyz(26.0167, 14.9332, 12.3367) |
| Luminance | 0.1493 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.53
Deep Rose
#C74767
ΔE00 3.85
Deep Pink
#CB0162
ΔE00 4.17
Dark Hot Pink
#D90166
ΔE00 4.19
Dark Rose
#B5485D
ΔE00 4.32
Cerise
#DE0C62
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4335F #33C498
analogous
#C433A7 #C4335F #C44F33
triadic
#C4335F #5FC433 #335FC4
tetradic
#C4335F #A7C433 #33C498 #4F33C4
square
#C4335F #A7C433 #33C498 #4F33C4
split-complementary
#C4335F #33C44F #33A7C4
monochromatic
#631A30 #932647 #C4335F #D55F83 #E28FA8
Accessibility & contrast
On white
5.27
#C4335F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#C4335F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C4335F
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4335F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C4335F | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#575960
Deuteranopia (green-blind)
#7D765B
Tritanopia (blue-blind)
#D60E45
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #c4335f; /* rgb */ color: rgb(196, 51, 95); /* oklch */ color: oklch(55.4% 0.182 7.6);
Tailwind
colors: {
custom: {
50: '#dc778c',
500: '#c4335f',
950: '#000000',
},
}SCSS
$custom: #c4335f; $custom-light: #dc778c; $custom-dark: #000000;
JSON
{
"hex": "#c4335f",
"rgb": {
"r": 196,
"g": 51,
"b": 95
},
"hsl": {
"h": 341.793,
"s": 58.704,
"l": 48.431
},
"oklch": {
"l": 0.55407,
"c": 0.18248,
"h": 7.6
},
"luminance": 0.1493
}Semantic roles & 50–950 ramp
primary
#C4335F
secondary
#86CDB7
accent
#E2B346
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#160A0C
muted
#847C7D