#C5335F#C5335F
#C5335F is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.6% C 0.183 H 7.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #C5335F |
|---|---|
| RGB | rgb(197, 51, 95) |
| HSL | hsl(342, 59%, 49%) |
| HSV | hsv(342, 74%, 77%) |
| CMYK | cmyk(0%, 74.1%, 51.8%, 22.7%) |
| CIE-LAB | lab(45.73, 59.66, 9.62) |
| CIE-LCH | lch(45.73, 60.43, 9.16°) |
| OKLab | oklab(55.58% 0.1817 0.0248) |
| OKLCH | oklch(55.58% 0.183 7.8) |
| XYZ | xyz(26.2777, 15.0678, 12.3489) |
| Luminance | 0.1506 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.42
Deep Rose
#C74767
ΔE00 3.72
Dark Hot Pink
#D90166
ΔE00 4.13
Cerise
#DE0C62
ΔE00 4.19
Deep Pink
#CB0162
ΔE00 4.27
Dark Rose
#B5485D
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5335F #33C599
analogous
#C533A8 #C5335F #C55033
triadic
#C5335F #5FC533 #335FC5
tetradic
#C5335F #A8C533 #33C599 #5033C5
square
#C5335F #A8C533 #33C599 #5033C5
split-complementary
#C5335F #33C550 #33A8C5
monochromatic
#641A30 #942648 #C5335F #D65F83 #E290A9
Accessibility & contrast
On white
5.23
#C5335F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#C5335F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5335F
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5335F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5335F | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#575A60
Deuteranopia (green-blind)
#7E775B
Tritanopia (blue-blind)
#D70D45
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #c5335f; /* rgb */ color: rgb(197, 51, 95); /* oklch */ color: oklch(55.6% 0.183 7.8);
Tailwind
colors: {
custom: {
50: '#dd778c',
500: '#c5335f',
950: '#000000',
},
}SCSS
$custom: #c5335f; $custom-light: #dd778c; $custom-dark: #000000;
JSON
{
"hex": "#c5335f",
"rgb": {
"r": 197,
"g": 51,
"b": 95
},
"hsl": {
"h": 341.918,
"s": 58.871,
"l": 48.627
},
"oklch": {
"l": 0.55577,
"c": 0.18339,
"h": 7.8
},
"luminance": 0.15064
}Semantic roles & 50–950 ramp
primary
#C5335F
secondary
#87CDB8
accent
#E2B346
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#160A0C
muted
#847C7D