#CF7AB2#CF7AB2
#CF7AB2 is a light, vivid pink. Relative luminance 0.304; OKLCH L 68.9% C 0.126 H 341.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7AB2 |
|---|---|
| RGB | rgb(207, 122, 178) |
| HSL | hsl(320, 47%, 65%) |
| HSV | hsv(320, 41%, 81%) |
| CMYK | cmyk(0%, 41.1%, 14%, 18.8%) |
| CIE-LAB | lab(62.00, 40.75, -15.41) |
| CIE-LCH | lch(62.00, 43.57, 339.29°) |
| OKLab | oklab(68.86% 0.1196 -0.041) |
| OKLCH | oklch(68.86% 0.126 341.1) |
| XYZ | xyz(40.7278, 30.4013, 45.8337) |
| Luminance | 0.3040 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 4.46
Orchid (survey)
#C875C4
ΔE00 5.58
Purplish Pink
#CE5DAE
ΔE00 7.00
Lavender Pink
#DD85D7
ΔE00 7.07
Orchid
#DA70D6
ΔE00 8.02
Bubblegum (survey)
#FF6CB5
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7AB2 #7ACF97
analogous
#C27ACF #CF7AB2 #CF7A88
triadic
#CF7AB2 #B2CF7A #7AB2CF
tetradic
#CF7AB2 #CFC27A #7ACF97 #7A88CF
square
#CF7AB2 #CFC27A #7ACF97 #7A88CF
split-complementary
#CF7AB2 #88CF7A #7ACFC2
monochromatic
#983777 #BF4D98 #CF7AB2 #DFA7CC #EFD4E6
Accessibility & contrast
On white
2.97
#CF7AB2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.08
#CF7AB2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7AB2
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7AB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7AB2 | 1.00 | 2.97 | 7.08 | 7.08 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E8EB4
Deuteranopia (green-blind)
#949BB0
Tritanopia (blue-blind)
#D87B8F
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #cf7ab2; /* rgb */ color: rgb(207, 122, 178); /* oklch */ color: oklch(68.9% 0.126 341.1);
Tailwind
colors: {
custom: {
50: '#dfa2c9',
500: '#cf7ab2',
950: '#000000',
},
}SCSS
$custom: #cf7ab2; $custom-light: #dfa2c9; $custom-dark: #000000;
JSON
{
"hex": "#cf7ab2",
"rgb": {
"r": 207,
"g": 122,
"b": 178
},
"hsl": {
"h": 320.471,
"s": 46.961,
"l": 64.51
},
"oklch": {
"l": 0.68862,
"c": 0.1264,
"h": 341.1
},
"luminance": 0.30399
}Semantic roles & 50–950 ramp
primary
#CF7AB2
secondary
#C4E1CE
accent
#BA5C2B
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82