#CF335F#CF335F
#CF335F is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.3% C 0.192 H 9.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CF335F |
|---|---|
| RGB | rgb(207, 51, 95) |
| HSL | hsl(343, 62%, 51%) |
| HSV | hsv(343, 75%, 81%) |
| CMYK | cmyk(0%, 75.4%, 54.1%, 18.8%) |
| CIE-LAB | lab(47.58, 62.51, 12.47) |
| CIE-LCH | lch(47.58, 63.74, 11.29°) |
| OKLab | oklab(57.28% 0.1898 0.0317) |
| OKLCH | oklch(57.28% 0.192 9.5) |
| XYZ | xyz(28.9842, 16.4634, 12.4758) |
| Luminance | 0.1646 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cherry
#DE3163
ΔE00 2.99
Deep Rose
#C74767
ΔE00 3.07
Dark Pink
#CB416B
ΔE00 3.07
Cerise
#DE0C62
ΔE00 3.11
Raspberry
#E30B5C
ΔE00 3.41
Lipstick
#D5174E
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF335F #33CFA3
analogous
#CF33AD #CF335F #CF5533
triadic
#CF335F #5FCF33 #335FCF
tetradic
#CF335F #ADCF33 #33CFA3 #5533CF
square
#CF335F #ADCF33 #33CFA3 #5533CF
split-complementary
#CF335F #33CF55 #33ADCF
monochromatic
#6E1A32 #9F2548 #CF335F #DB6586 #E696AD
Accessibility & contrast
On white
4.89
#CF335F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#CF335F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF335F
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF335F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF335F | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5D60
Deuteranopia (green-blind)
#847C5B
Tritanopia (blue-blind)
#E20046
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #cf335f; /* rgb */ color: rgb(207, 51, 95); /* oklch */ color: oklch(57.3% 0.192 9.5);
Tailwind
colors: {
custom: {
50: '#e4788c',
500: '#cf335f',
950: '#000000',
},
}SCSS
$custom: #cf335f; $custom-light: #e4788c; $custom-dark: #000000;
JSON
{
"hex": "#cf335f",
"rgb": {
"r": 207,
"g": 51,
"b": 95
},
"hsl": {
"h": 343.077,
"s": 61.905,
"l": 50.588
},
"oklch": {
"l": 0.5728,
"c": 0.19246,
"h": 9.5
},
"luminance": 0.16459
}Semantic roles & 50–950 ramp
primary
#CF335F
secondary
#8CD2BE
accent
#E5B743
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D