#7E1233#7E1233
#7E1233 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.141 H 10.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1233 |
|---|---|
| RGB | rgb(126, 18, 51) |
| HSL | hsl(342, 75%, 28%) |
| HSV | hsv(342, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 59.5%, 50.6%) |
| CIE-LAB | lab(27.04, 45.85, 9.89) |
| CIE-LCH | lch(27.04, 46.91, 12.17°) |
| OKLab | oklab(38.92% 0.1391 0.0248) |
| OKLCH | oklch(38.92% 0.141 10.1) |
| XYZ | xyz(9.4190, 5.1087, 3.6214) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 1.91
Red Wine
#8C0034
ΔE00 2.75
Wine Red
#7B0323
ΔE00 4.60
Wine (survey)
#80013F
ΔE00 5.02
Maroon (survey)
#650021
ΔE00 5.67
Merlot
#730039
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1233 #127E5D
analogous
#7E1269 #7E1233 #7E2712
triadic
#7E1233 #337E12 #12337E
tetradic
#7E1233 #697E12 #127E5D #27127E
square
#7E1233 #697E12 #127E5D #27127E
split-complementary
#7E1233 #127E27 #12697E
monochromatic
#1B040B #480A1D #7E1233 #B41A49 #E12A62
Accessibility & contrast
On white
10.39
#7E1233 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E1233 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1233
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1233 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1233 | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323234
Deuteranopia (green-blind)
#4D4830
Tritanopia (blue-blind)
#8A0021
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1233; /* rgb */ color: rgb(126, 18, 51); /* oklch */ color: oklch(38.9% 0.141 10.1);
Tailwind
colors: {
custom: {
50: '#aa5e6a',
500: '#7e1233',
950: '#000000',
},
}SCSS
$custom: #7e1233; $custom-light: #aa5e6a; $custom-dark: #000000;
JSON
{
"hex": "#7e1233",
"rgb": {
"r": 126,
"g": 18,
"b": 51
},
"hsl": {
"h": 341.667,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.38924,
"c": 0.14128,
"h": 10.1
},
"luminance": 0.05107
}Semantic roles & 50–950 ramp
primary
#7E1233
secondary
#38B48E
accent
#F2B836
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A