#7F173F#7F173F
#7F173F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.140 H 3.6°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7F173F |
|---|---|
| RGB | rgb(127, 23, 63) |
| HSL | hsl(337, 69%, 29%) |
| HSV | hsv(337, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 50.4%, 50.2%) |
| CIE-LAB | lab(28.07, 45.73, 3.26) |
| CIE-LCH | lch(28.07, 45.84, 4.08°) |
| OKLab | oklab(39.83% 0.1402 0.0088) |
| OKLCH | oklch(39.83% 0.14 3.6) |
| XYZ | xyz(9.9569, 5.4851, 5.2361) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.21
Red Purple
#820747
ΔE00 3.41
Merlot
#730039
ΔE00 3.75
Mulberry
#920A4E
ΔE00 4.53
Purple Red
#990147
ΔE00 4.86
Red Wine
#8C0034
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F173F #177F57
analogous
#7F1773 #7F173F #7F2317
triadic
#7F173F #3F7F17 #173F7F
tetradic
#7F173F #737F17 #177F57 #23177F
square
#7F173F #737F17 #177F57 #23177F
split-complementary
#7F173F #177F23 #17737F
monochromatic
#1A050D #4B0E25 #7F173F #B32059 #DB3675
Accessibility & contrast
On white
10.02
#7F173F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7F173F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F173F
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F173F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F173F | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313540
Deuteranopia (green-blind)
#4D4A3D
Tritanopia (blue-blind)
#8B0029
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f173f; /* rgb */ color: rgb(127, 23, 63); /* oklch */ color: oklch(39.8% 0.140 3.6);
Tailwind
colors: {
custom: {
50: '#a96073',
500: '#7f173f',
950: '#000000',
},
}SCSS
$custom: #7f173f; $custom-light: #a96073; $custom-dark: #000000;
JSON
{
"hex": "#7f173f",
"rgb": {
"r": 127,
"g": 23,
"b": 63
},
"hsl": {
"h": 336.923,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.39827,
"c": 0.14043,
"h": 3.6
},
"luminance": 0.05484
}Semantic roles & 50–950 ramp
primary
#7F173F
secondary
#3EB486
accent
#ECA83C
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110508
muted
#807A7B