#CF3A7F#CF3A7F
#CF3A7F is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.8% C 0.194 H 356.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #CF3A7F |
|---|---|
| RGB | rgb(207, 58, 127) |
| HSL | hsl(332, 61%, 52%) |
| HSV | hsv(332, 72%, 81%) |
| CMYK | cmyk(0%, 72%, 38.6%, 18.8%) |
| CIE-LAB | lab(49.29, 63.06, -4.58) |
| CIE-LCH | lch(49.29, 63.22, 355.84°) |
| OKLab | oklab(58.83% 0.1935 -0.0112) |
| OKLCH | oklch(58.83% 0.194 356.7) |
| XYZ | xyz(31.0780, 17.8276, 21.8791) |
| Luminance | 0.1782 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.45
Dark Pink
#CB416B
ΔE00 5.56
Dark Hot Pink
#D90166
ΔE00 6.21
Mediumvioletred
#C71585
ΔE00 6.28
Deep Pink
#CB0162
ΔE00 7.09
Magenta (survey)
#C20078
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF3A7F #3ACF8A
analogous
#CF3AC9 #CF3A7F #CF403A
triadic
#CF3A7F #7FCF3A #3A7FCF
tetradic
#CF3A7F #C9CF3A #3ACF8A #403ACF
square
#CF3A7F #C9CF3A #3ACF8A #403ACF
split-complementary
#CF3A7F #3ACF40 #3AC9CF
monochromatic
#731C44 #A42861 #CF3A7F #DB6B9F #E79CBF
Accessibility & contrast
On white
4.60
#CF3A7F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#CF3A7F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #CF3A7F
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF3A7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF3A7F | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#576381
Deuteranopia (green-blind)
#807F7C
Tritanopia (blue-blind)
#E02958
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #cf3a7f; /* rgb */ color: rgb(207, 58, 127); /* oklch */ color: oklch(58.8% 0.194 356.7);
Tailwind
colors: {
custom: {
50: '#e37ca4',
500: '#cf3a7f',
950: '#000000',
},
}SCSS
$custom: #cf3a7f; $custom-light: #e37ca4; $custom-dark: #000000;
JSON
{
"hex": "#cf3a7f",
"rgb": {
"r": 207,
"g": 58,
"b": 127
},
"hsl": {
"h": 332.215,
"s": 60.816,
"l": 51.961
},
"oklch": {
"l": 0.58829,
"c": 0.19379,
"h": 356.7
},
"luminance": 0.17824
}Semantic roles & 50–950 ramp
primary
#CF3A7F
secondary
#92D3B5
accent
#E49A44
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160A0F
muted
#847C7F