#CF315A#CF315A
#CF315A is a mid, vivid pink. Relative luminance 0.162; OKLCH L 57.0% C 0.194 H 11.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #CF315A |
|---|---|
| RGB | rgb(207, 49, 90) |
| HSL | hsl(344, 62%, 50%) |
| HSV | hsv(344, 76%, 81%) |
| CMYK | cmyk(0%, 76.3%, 56.5%, 18.8%) |
| CIE-LAB | lab(47.24, 62.77, 15.08) |
| CIE-LCH | lch(47.24, 64.55, 13.51°) |
| OKLab | oklab(57% 0.19 0.0378) |
| OKLCH | oklch(57% 0.194 11.2) |
| XYZ | xyz(28.6787, 16.2044, 11.2885) |
| Luminance | 0.1620 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Lipstick
#D5174E
ΔE00 3.01
Cherry
#DE3163
ΔE00 3.33
Raspberry
#E30B5C
ΔE00 3.35
Cerise
#DE0C62
ΔE00 3.74
Deep Rose
#C74767
ΔE00 3.80
Dark Pink
#CB416B
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF315A #31CFA6
analogous
#CF31A9 #CF315A #CF5731
triadic
#CF315A #5ACF31 #315ACF
tetradic
#CF315A #A9CF31 #31CFA6 #5731CF
square
#CF315A #A9CF31 #31CFA6 #5731CF
split-complementary
#CF315A #31CF57 #31A9CF
monochromatic
#6C192F #9E2544 #CF315A #DB6382 #E694AA
Accessibility & contrast
On white
4.95
#CF315A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#CF315A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF315A
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF315A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF315A | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5B5B
Deuteranopia (green-blind)
#847C56
Tritanopia (blue-blind)
#E20042
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #cf315a; /* rgb */ color: rgb(207, 49, 90); /* oklch */ color: oklch(57.0% 0.194 11.2);
Tailwind
colors: {
custom: {
50: '#e57788',
500: '#cf315a',
950: '#000000',
},
}SCSS
$custom: #cf315a; $custom-light: #e57788; $custom-dark: #000000;
JSON
{
"hex": "#cf315a",
"rgb": {
"r": 207,
"g": 49,
"b": 90
},
"hsl": {
"h": 344.43,
"s": 62.205,
"l": 50.196
},
"oklch": {
"l": 0.56995,
"c": 0.19367,
"h": 11.2
},
"luminance": 0.162
}Semantic roles & 50–950 ramp
primary
#CF315A
secondary
#8BD1BF
accent
#E5BB43
background
#FFF7F8
surface
#FEEEEF
border
#D6C9CA
text
#170A0B
muted
#857C7C