#CF7FAC#CF7FAC
#CF7FAC is a light, moderate pink. Relative luminance 0.314; OKLCH L 69.5% C 0.114 H 345.7°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7FAC |
|---|---|
| RGB | rgb(207, 127, 172) |
| HSL | hsl(326, 45%, 65%) |
| HSV | hsv(326, 39%, 81%) |
| CMYK | cmyk(0%, 38.6%, 16.9%, 18.8%) |
| CIE-LAB | lab(62.86, 37.14, -10.69) |
| CIE-LCH | lch(62.86, 38.65, 343.94°) |
| OKLab | oklab(69.45% 0.11 -0.0281) |
| OKLCH | oklch(69.45% 0.114 345.7) |
| XYZ | xyz(40.7683, 31.4252, 42.9401) |
| Luminance | 0.3142 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 6.18
Dull Pink
#D5869D
ΔE00 6.51
Palevioletred
#DB7093
ΔE00 7.08
Muted Pink
#D1768F
ΔE00 7.45
Orchid (survey)
#C875C4
ΔE00 7.99
Dusty Lavender
#AC86A8
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7FAC #7FCFA2
analogous
#CA7FCF #CF7FAC #CF7F84
triadic
#CF7FAC #ACCF7F #7FACCF
tetradic
#CF7FAC #CFCA7F #7FCFA2 #7F84CF
square
#CF7FAC #CFCA7F #7FCFA2 #7F84CF
split-complementary
#CF7FAC #84CF7F #7FCFCA
monochromatic
#9A3A70 #BE528F #CF7FAC #E0ACC9 #F0D8E6
Accessibility & contrast
On white
2.88
#CF7FAC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#CF7FAC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7FAC
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7FAC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7FAC | 1.00 | 2.88 | 7.28 | 7.28 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8590AE
Deuteranopia (green-blind)
#999DAA
Tritanopia (blue-blind)
#D97E8F
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #cf7fac; /* rgb */ color: rgb(207, 127, 172); /* oklch */ color: oklch(69.5% 0.114 345.7);
Tailwind
colors: {
custom: {
50: '#dfa5c4',
500: '#cf7fac',
950: '#000000',
},
}SCSS
$custom: #cf7fac; $custom-light: #dfa5c4; $custom-dark: #000000;
JSON
{
"hex": "#cf7fac",
"rgb": {
"r": 207,
"g": 127,
"b": 172
},
"hsl": {
"h": 326.25,
"s": 45.455,
"l": 65.49
},
"oklch": {
"l": 0.69451,
"c": 0.1135,
"h": 345.7
},
"luminance": 0.31423
}Semantic roles & 50–950 ramp
primary
#CF7FAC
secondary
#C8E2D3
accent
#B96A2D
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F12
muted
#837F81