#CF7FA2#CF7FA2
#CF7FA2 is a light, moderate pink. Relative luminance 0.311; OKLCH L 69.1% C 0.108 H 352.5°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7FA2 |
|---|---|
| RGB | rgb(207, 127, 162) |
| HSL | hsl(334, 45%, 65%) |
| HSV | hsv(334, 39%, 81%) |
| CMYK | cmyk(0%, 38.6%, 21.7%, 18.8%) |
| CIE-LAB | lab(62.55, 35.61, -5.46) |
| CIE-LCH | lch(62.55, 36.03, 351.28°) |
| OKLab | oklab(69.11% 0.1067 -0.014) |
| OKLCH | oklch(69.11% 0.108 352.5) |
| XYZ | xyz(39.8438, 31.0554, 38.0711) |
| Luminance | 0.3105 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dull Pink
#D5869D
ΔE00 3.97
Muted Pink
#D1768F
ΔE00 4.89
Palevioletred
#DB7093
ΔE00 5.16
Dusky Pink
#CC7A8B
ΔE00 6.16
Pig Pink
#E78EA5
ΔE00 6.77
Old Pink
#C77986
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7FA2 #7FCFAC
analogous
#CF7FCA #CF7FA2 #CF847F
triadic
#CF7FA2 #A2CF7F #7FA2CF
tetradic
#CF7FA2 #CACF7F #7FCFAC #847FCF
square
#CF7FA2 #CACF7F #7FCFAC #847FCF
split-complementary
#CF7FA2 #7FCF84 #7FCACF
monochromatic
#9A3A64 #BE5282 #CF7FA2 #E0ACC2 #F0D8E3
Accessibility & contrast
On white
2.91
#CF7FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#CF7FA2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7FA2
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7FA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7FA2 | 1.00 | 2.91 | 7.21 | 7.21 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#888FA3
Deuteranopia (green-blind)
#9B9CA0
Tritanopia (blue-blind)
#DA7C8B
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #cf7fa2; /* rgb */ color: rgb(207, 127, 162); /* oklch */ color: oklch(69.1% 0.108 352.5);
Tailwind
colors: {
custom: {
50: '#dfa5bd',
500: '#cf7fa2',
950: '#000000',
},
}SCSS
$custom: #cf7fa2; $custom-light: #dfa5bd; $custom-dark: #000000;
JSON
{
"hex": "#cf7fa2",
"rgb": {
"r": 207,
"g": 127,
"b": 162
},
"hsl": {
"h": 333.75,
"s": 45.455,
"l": 65.49
},
"oklch": {
"l": 0.69113,
"c": 0.10757,
"h": 352.5
},
"luminance": 0.31053
}Semantic roles & 50–950 ramp
primary
#CF7FA2
secondary
#C8E2D7
accent
#B97B2D
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81