#7F174B#7F174B
#7F174B is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.145 H 355.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7F174B |
|---|---|
| RGB | rgb(127, 23, 75) |
| HSL | hsl(330, 69%, 29%) |
| HSV | hsv(330, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 40.9%, 50.2%) |
| CIE-LAB | lab(28.47, 46.93, -4.20) |
| CIE-LCH | lch(28.47, 47.11, 354.89°) |
| OKLab | oklab(40.25% 0.1444 -0.0105) |
| OKLCH | oklch(40.25% 0.145 355.9) |
| XYZ | xyz(10.3295, 5.6341, 7.1988) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.62
Wine (survey)
#80013F
ΔE00 3.30
Reddish Purple
#910951
ΔE00 3.40
Mulberry
#920A4E
ΔE00 3.75
Merlot
#730039
ΔE00 4.37
Dark Magenta
#960056
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F174B #177F4B
analogous
#7F177F #7F174B #7F1717
triadic
#7F174B #4B7F17 #174B7F
tetradic
#7F174B #7F7F17 #177F4B #17177F
square
#7F174B #7F7F17 #177F4B #17177F
split-complementary
#7F174B #177F17 #177F7F
monochromatic
#1A050F #4B0E2C #7F174B #B3206A #DB3688
Accessibility & contrast
On white
9.87
#7F174B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7F174B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F174B
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F174B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F174B | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E374C
Deuteranopia (green-blind)
#4A4A49
Tritanopia (blue-blind)
#8A062F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f174b; /* rgb */ color: rgb(127, 23, 75); /* oklch */ color: oklch(40.2% 0.145 355.9);
Tailwind
colors: {
custom: {
50: '#a9617d',
500: '#7f174b',
950: '#000000',
},
}SCSS
$custom: #7f174b; $custom-light: #a9617d; $custom-dark: #000000;
JSON
{
"hex": "#7f174b",
"rgb": {
"r": 127,
"g": 23,
"b": 75
},
"hsl": {
"h": 330,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.40246,
"c": 0.14473,
"h": 355.9
},
"luminance": 0.05633
}Semantic roles & 50–950 ramp
primary
#7F174B
secondary
#3EB479
accent
#EC943C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B