#CF315F#CF315F
#CF315F is a mid, vivid pink. Relative luminance 0.163; OKLCH L 57.1% C 0.194 H 9.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #CF315F |
|---|---|
| RGB | rgb(207, 49, 95) |
| HSL | hsl(343, 62%, 50%) |
| HSV | hsv(343, 76%, 81%) |
| CMYK | cmyk(0%, 76.3%, 54.1%, 18.8%) |
| CIE-LAB | lab(47.36, 63.13, 12.17) |
| CIE-LCH | lch(47.36, 64.29, 10.91°) |
| OKLab | oklab(57.12% 0.1919 0.0309) |
| OKLCH | oklch(57.12% 0.194 9.2) |
| XYZ | xyz(28.8987, 16.2924, 12.4473) |
| Luminance | 0.1629 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cerise
#DE0C62
ΔE00 2.92
Dark Pink
#CB416B
ΔE00 3.11
Cherry
#DE3163
ΔE00 3.16
Deep Rose
#C74767
ΔE00 3.26
Raspberry
#E30B5C
ΔE00 3.40
Dark Hot Pink
#D90166
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF315F #31CFA1
analogous
#CF31AE #CF315F #CF5231
triadic
#CF315F #5FCF31 #315FCF
tetradic
#CF315F #AECF31 #31CFA1 #5231CF
square
#CF315F #AECF31 #31CFA1 #5231CF
split-complementary
#CF315F #31CF52 #31AECF
monochromatic
#6C1931 #9E2548 #CF315F #DB6386 #E694AC
Accessibility & contrast
On white
4.93
#CF315F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#CF315F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF315F
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF315F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF315F | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5C60
Deuteranopia (green-blind)
#847C5B
Tritanopia (blue-blind)
#E20045
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #cf315f; /* rgb */ color: rgb(207, 49, 95); /* oklch */ color: oklch(57.1% 0.194 9.2);
Tailwind
colors: {
custom: {
50: '#e4778c',
500: '#cf315f',
950: '#000000',
},
}SCSS
$custom: #cf315f; $custom-light: #e4778c; $custom-dark: #000000;
JSON
{
"hex": "#cf315f",
"rgb": {
"r": 207,
"g": 49,
"b": 95
},
"hsl": {
"h": 342.532,
"s": 62.205,
"l": 50.196
},
"oklch": {
"l": 0.57117,
"c": 0.19433,
"h": 9.2
},
"luminance": 0.16288
}Semantic roles & 50–950 ramp
primary
#CF315F
secondary
#8BD1BD
accent
#E5B643
background
#FFF7F8
surface
#FEEEF0
border
#D6C9CB
text
#170A0C
muted
#857C7D