#CF3158#CF3158
#CF3158 is a mid, vivid red. Relative luminance 0.162; OKLCH L 56.9% C 0.193 H 12.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CF3158 |
|---|---|
| RGB | rgb(207, 49, 88) |
| HSL | hsl(345, 62%, 50%) |
| HSV | hsv(345, 76%, 81%) |
| CMYK | cmyk(0%, 76.3%, 57.5%, 18.8%) |
| CIE-LAB | lab(47.20, 62.63, 16.25) |
| CIE-LCH | lch(47.20, 64.70, 14.55°) |
| OKLab | oklab(56.95% 0.1892 0.0405) |
| OKLCH | oklch(56.95% 0.193 12.1) |
| XYZ | xyz(28.5947, 16.1708, 10.8462) |
| Luminance | 0.1617 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick
#D5174E
ΔE00 2.62
Raspberry
#E30B5C
ΔE00 3.51
Cherry
#DE3163
ΔE00 3.56
Deep Rose
#C74767
ΔE00 4.13
Cerise
#DE0C62
ΔE00 4.16
Ruby
#CA0147
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF3158 #31CFA8
analogous
#CF31A7 #CF3158 #CF5931
triadic
#CF3158 #58CF31 #3158CF
tetradic
#CF3158 #A7CF31 #31CFA8 #5931CF
square
#CF3158 #A7CF31 #31CFA8 #5931CF
split-complementary
#CF3158 #31CF59 #31A7CF
monochromatic
#6C192E #9E2543 #CF3158 #DB6380 #E694A8
Accessibility & contrast
On white
4.96
#CF3158 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#CF3158 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF3158
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF3158 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF3158 | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5B59
Deuteranopia (green-blind)
#857C54
Tritanopia (blue-blind)
#E20042
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #cf3158; /* rgb */ color: rgb(207, 49, 88); /* oklch */ color: oklch(56.9% 0.193 12.1);
Tailwind
colors: {
custom: {
50: '#e57786',
500: '#cf3158',
950: '#000000',
},
}SCSS
$custom: #cf3158; $custom-light: #e57786; $custom-dark: #000000;
JSON
{
"hex": "#cf3158",
"rgb": {
"r": 207,
"g": 49,
"b": 88
},
"hsl": {
"h": 345.19,
"s": 62.205,
"l": 50.196
},
"oklch": {
"l": 0.56949,
"c": 0.19347,
"h": 12.1
},
"luminance": 0.16167
}Semantic roles & 50–950 ramp
primary
#CF3158
secondary
#8BD1C0
accent
#E5BD43
background
#FFF7F8
surface
#FEEEEF
border
#D6C9CA
text
#170A0B
muted
#857C7C