#CF3157#CF3157
#CF3157 is a mid, vivid red. Relative luminance 0.162; OKLCH L 56.9% C 0.193 H 12.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CF3157 |
|---|---|
| RGB | rgb(207, 49, 87) |
| HSL | hsl(346, 62%, 50%) |
| HSV | hsv(346, 76%, 81%) |
| CMYK | cmyk(0%, 76.3%, 58%, 18.8%) |
| CIE-LAB | lab(47.18, 62.56, 16.83) |
| CIE-LCH | lch(47.18, 64.78, 15.06°) |
| OKLab | oklab(56.93% 0.1888 0.0418) |
| OKLCH | oklch(56.93% 0.193 12.5) |
| XYZ | xyz(28.5536, 16.1543, 10.6295) |
| Luminance | 0.1615 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick
#D5174E
ΔE00 2.45
Raspberry
#E30B5C
ΔE00 3.62
Cherry
#DE3163
ΔE00 3.71
Deep Rose
#C74767
ΔE00 4.32
Cerise
#DE0C62
ΔE00 4.39
Ruby
#CA0147
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF3157 #31CFA9
analogous
#CF31A6 #CF3157 #CF5A31
triadic
#CF3157 #57CF31 #3157CF
tetradic
#CF3157 #A6CF31 #31CFA9 #5A31CF
square
#CF3157 #A6CF31 #31CFA9 #5A31CF
split-complementary
#CF3157 #31CF5A #31A6CF
monochromatic
#6C192D #9E2542 #CF3157 #DB637F #E694A8
Accessibility & contrast
On white
4.96
#CF3157 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#CF3157 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF3157
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF3157 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF3157 | 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)
#5C5B57
Deuteranopia (green-blind)
#857C53
Tritanopia (blue-blind)
#E20041
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #cf3157; /* rgb */ color: rgb(207, 49, 87); /* oklch */ color: oklch(56.9% 0.193 12.5);
Tailwind
colors: {
custom: {
50: '#e57786',
500: '#cf3157',
950: '#000000',
},
}SCSS
$custom: #cf3157; $custom-light: #e57786; $custom-dark: #000000;
JSON
{
"hex": "#cf3157",
"rgb": {
"r": 207,
"g": 49,
"b": 87
},
"hsl": {
"h": 345.57,
"s": 62.205,
"l": 50.196
},
"oklch": {
"l": 0.56926,
"c": 0.19338,
"h": 12.5
},
"luminance": 0.1615
}Semantic roles & 50–950 ramp
primary
#CF3157
secondary
#8BD1C0
accent
#E5BE43
background
#FFF7F8
surface
#FEEEEF
border
#D6C9CA
text
#170A0B
muted
#857C7C