#CF345F#CF345F
#CF345F is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.4% C 0.192 H 9.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CF345F |
|---|---|
| RGB | rgb(207, 52, 95) |
| HSL | hsl(343, 62%, 51%) |
| HSV | hsv(343, 75%, 81%) |
| CMYK | cmyk(0%, 74.9%, 54.1%, 18.8%) |
| CIE-LAB | lab(47.69, 62.19, 12.63) |
| CIE-LCH | lch(47.69, 63.46, 11.48°) |
| OKLab | oklab(57.36% 0.1888 0.0321) |
| OKLCH | oklch(57.36% 0.192 9.6) |
| XYZ | xyz(29.0284, 16.5517, 12.4905) |
| Luminance | 0.1655 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cherry
#DE3163
ΔE00 2.92
Deep Rose
#C74767
ΔE00 2.98
Dark Pink
#CB416B
ΔE00 3.06
Cerise
#DE0C62
ΔE00 3.22
Raspberry
#E30B5C
ΔE00 3.42
Lipstick
#D5174E
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF345F #34CFA4
analogous
#CF34AC #CF345F #CF5634
triadic
#CF345F #5FCF34 #345FCF
tetradic
#CF345F #ACCF34 #34CFA4 #5634CF
square
#CF345F #ACCF34 #34CFA4 #5634CF
split-complementary
#CF345F #34CF56 #34ACCF
monochromatic
#6E1A32 #A02648 #CF345F #DB6586 #E697AD
Accessibility & contrast
On white
4.87
#CF345F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#CF345F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF345F
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF345F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF345F | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5D60
Deuteranopia (green-blind)
#857C5B
Tritanopia (blue-blind)
#E20046
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #cf345f; /* rgb */ color: rgb(207, 52, 95); /* oklch */ color: oklch(57.4% 0.192 9.6);
Tailwind
colors: {
custom: {
50: '#e4798c',
500: '#cf345f',
950: '#000000',
},
}SCSS
$custom: #cf345f; $custom-light: #e4798c; $custom-dark: #000000;
JSON
{
"hex": "#cf345f",
"rgb": {
"r": 207,
"g": 52,
"b": 95
},
"hsl": {
"h": 343.355,
"s": 61.753,
"l": 50.784
},
"oklch": {
"l": 0.57364,
"c": 0.19152,
"h": 9.6
},
"luminance": 0.16548
}Semantic roles & 50–950 ramp
primary
#CF345F
secondary
#8DD2BF
accent
#E5B843
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D