#7E236D#7E236D
#7E236D is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.151 H 336.4°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7E236D |
|---|---|
| RGB | rgb(126, 35, 109) |
| HSL | hsl(311, 57%, 32%) |
| HSV | hsv(311, 72%, 49%) |
| CMYK | cmyk(0%, 72.2%, 13.5%, 50.6%) |
| CIE-LAB | lab(31.21, 47.08, -22.20) |
| CIE-LCH | lch(31.21, 52.06, 334.75°) |
| OKLab | oklab(42.69% 0.1381 -0.0604) |
| OKLCH | oklch(42.69% 0.151 336.4) |
| XYZ | xyz(11.9657, 6.7429, 15.1363) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.83
Rich Purple
#720058
ΔE00 5.41
Purple
#800080
ΔE00 5.71
Grape
#6C3461
ΔE00 5.75
Velvet
#750851
ΔE00 6.22
Bruise
#7E4071
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E236D #237E34
analogous
#62237E #7E236D #7E2340
triadic
#7E236D #6D7E23 #236D7E
tetradic
#7E236D #7E6223 #237E34 #23407E
square
#7E236D #7E6223 #237E34 #23407E
split-complementary
#7E236D #407E23 #237E62
monochromatic
#1E081A #4E1644 #7E236D #AE3096 #CE4EB6
Accessibility & contrast
On white
8.94
#7E236D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#7E236D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E236D
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E236D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E236D | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25416F
Deuteranopia (green-blind)
#434E6B
Tritanopia (blue-blind)
#852945
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7e236d; /* rgb */ color: rgb(126, 35, 109); /* oklch */ color: oklch(42.7% 0.151 336.4);
Tailwind
colors: {
custom: {
50: '#a66797',
500: '#7e236d',
950: '#000000',
},
}SCSS
$custom: #7e236d; $custom-light: #a66797; $custom-dark: #000000;
JSON
{
"hex": "#7e236d",
"rgb": {
"r": 126,
"g": 35,
"b": 109
},
"hsl": {
"h": 311.209,
"s": 56.522,
"l": 31.569
},
"oklch": {
"l": 0.42688,
"c": 0.15075,
"h": 336.4
},
"luminance": 0.06742
}Semantic roles & 50–950 ramp
primary
#7E236D
secondary
#4CB05F
accent
#E06448
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E