#7F1233#7F1233
#7F1233 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.142 H 10.4°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1233 |
|---|---|
| RGB | rgb(127, 18, 51) |
| HSL | hsl(342, 75%, 28%) |
| HSV | hsv(342, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 59.8%, 50.2%) |
| CIE-LAB | lab(27.26, 46.14, 10.22) |
| CIE-LCH | lch(27.26, 47.26, 12.49°) |
| OKLab | oklab(39.12% 0.1399 0.0256) |
| OKLCH | oklch(39.12% 0.142 10.4) |
| XYZ | xyz(9.5672, 5.1851, 3.6284) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 1.95
Red Wine
#8C0034
ΔE00 2.56
Wine Red
#7B0323
ΔE00 4.51
Wine (survey)
#80013F
ΔE00 5.16
Maroon (survey)
#650021
ΔE00 5.81
Cranberry
#9E003A
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1233 #127F5E
analogous
#7F1269 #7F1233 #7F2712
triadic
#7F1233 #337F12 #12337F
tetradic
#7F1233 #697F12 #127F5E #27127F
square
#7F1233 #697F12 #127F5E #27127F
split-complementary
#7F1233 #127F27 #12697F
monochromatic
#1B040B #490A1D #7F1233 #B51A49 #E12B62
Accessibility & contrast
On white
10.31
#7F1233 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7F1233 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1233
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1233 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1233 | 1.00 | 10.31 | 2.04 | 10.31 |
| #FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323233
Deuteranopia (green-blind)
#4E4830
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1233; /* rgb */ color: rgb(127, 18, 51); /* oklch */ color: oklch(39.1% 0.142 10.4);
Tailwind
colors: {
custom: {
50: '#aa5e6a',
500: '#7f1233',
950: '#000000',
},
}SCSS
$custom: #7f1233; $custom-light: #aa5e6a; $custom-dark: #000000;
JSON
{
"hex": "#7f1233",
"rgb": {
"r": 127,
"g": 18,
"b": 51
},
"hsl": {
"h": 341.835,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.39119,
"c": 0.1422,
"h": 10.4
},
"luminance": 0.05184
}Semantic roles & 50–950 ramp
primary
#7F1233
secondary
#38B58F
accent
#F2B936
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A