#CF4BAF#CF4BAF
#CF4BAF is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.4% C 0.199 H 338.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4BAF |
|---|---|
| RGB | rgb(207, 75, 175) |
| HSL | hsl(315, 58%, 55%) |
| HSV | hsv(315, 64%, 81%) |
| CMYK | cmyk(0%, 63.8%, 15.5%, 18.8%) |
| CIE-LAB | lab(53.38, 62.67, -26.87) |
| CIE-LCH | lch(53.38, 68.18, 336.79°) |
| OKLab | oklab(62.42% 0.1851 -0.0726) |
| OKLCH | oklch(62.42% 0.199 338.6) |
| XYZ | xyz(35.9867, 21.3958, 42.7836) |
| Luminance | 0.2139 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 3.41
Purplish Pink
#CE5DAE
ΔE00 3.61
Purpley Pink
#C83CB9
ΔE00 4.36
Purpleish Pink
#DF4EC8
ΔE00 4.71
Hot Magenta
#F504C9
ΔE00 6.52
Pinkish Purple
#D648D7
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4BAF #4BCF6B
analogous
#AD4BCF #CF4BAF #CF4B6D
triadic
#CF4BAF #AFCF4B #4BAFCF
tetradic
#CF4BAF #CFAD4B #4BCF6B #4B6DCF
square
#CF4BAF #CFAD4B #4BCF6B #4B6DCF
split-complementary
#CF4BAF #6DCF4B #4BCFAD
monochromatic
#7E2268 #AE2E8F #CF4BAF #DC7BC4 #E9ACDA
Accessibility & contrast
On white
3.98
#CF4BAF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#CF4BAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4BAF
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4BAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4BAF | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5172B2
Deuteranopia (green-blind)
#7987AC
Tritanopia (blue-blind)
#DA5076
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cf4baf; /* rgb */ color: rgb(207, 75, 175); /* oklch */ color: oklch(62.4% 0.199 338.6);
Tailwind
colors: {
custom: {
50: '#e186c7',
500: '#cf4baf',
950: '#000000',
},
}SCSS
$custom: #cf4baf; $custom-light: #e186c7; $custom-dark: #000000;
JSON
{
"hex": "#cf4baf",
"rgb": {
"r": 207,
"g": 75,
"b": 175
},
"hsl": {
"h": 314.545,
"s": 57.895,
"l": 55.294
},
"oklch": {
"l": 0.62416,
"c": 0.19881,
"h": 338.6
},
"luminance": 0.21393
}Semantic roles & 50–950 ramp
primary
#CF4BAF
secondary
#9FD6AD
accent
#E16C47
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82