#7F236F#7F236F
#7F236F is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.153 H 335.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7F236F |
|---|---|
| RGB | rgb(127, 35, 111) |
| HSL | hsl(310, 57%, 32%) |
| HSV | hsv(310, 72%, 50%) |
| CMYK | cmyk(0%, 72.4%, 12.6%, 50.2%) |
| CIE-LAB | lab(31.49, 47.67, -23.03) |
| CIE-LCH | lch(31.49, 52.94, 334.21°) |
| OKLab | oklab(42.96% 0.1394 -0.0628) |
| OKLCH | oklch(42.96% 0.153 335.8) |
| XYZ | xyz(12.2228, 6.8629, 15.7168) |
| Luminance | 0.0686 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.67
Purple
#800080
ΔE00 5.42
Rich Purple
#720058
ΔE00 5.69
Grape
#6C3461
ΔE00 6.01
Darkmagenta
#8B008B
ΔE00 6.19
Bruise
#7E4071
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F236F #237F33
analogous
#61237F #7F236F #7F2341
triadic
#7F236F #6F7F23 #236F7F
tetradic
#7F236F #7F6123 #237F33 #23417F
square
#7F236F #7F6123 #237F33 #23417F
split-complementary
#7F236F #417F23 #237F61
monochromatic
#1F091B #4F1645 #7F236F #AF3099 #CE4EB8
Accessibility & contrast
On white
8.85
#7F236F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#7F236F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F236F
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F236F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F236F | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244171
Deuteranopia (green-blind)
#434F6D
Tritanopia (blue-blind)
#862946
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7f236f; /* rgb */ color: rgb(127, 35, 111); /* oklch */ color: oklch(43.0% 0.153 335.8);
Tailwind
colors: {
custom: {
50: '#a76798',
500: '#7f236f',
950: '#000000',
},
}SCSS
$custom: #7f236f; $custom-light: #a76798; $custom-dark: #000000;
JSON
{
"hex": "#7f236f",
"rgb": {
"r": 127,
"g": 35,
"b": 111
},
"hsl": {
"h": 310.435,
"s": 56.79,
"l": 31.765
},
"oklch": {
"l": 0.42957,
"c": 0.1529,
"h": 335.8
},
"luminance": 0.06862
}Semantic roles & 50–950 ramp
primary
#7F236F
secondary
#4CB15E
accent
#E06248
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E