#791F40#791F40
#791F40 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.126 H 2.7°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #791F40 |
|---|---|
| RGB | rgb(121, 31, 64) |
| HSL | hsl(338, 59%, 30%) |
| HSV | hsv(338, 74%, 47%) |
| CMYK | cmyk(0%, 74.4%, 47.1%, 52.5%) |
| CIE-LAB | lab(27.89, 41.23, 2.17) |
| CIE-LCH | lch(27.89, 41.29, 3.01°) |
| OKLab | oklab(39.48% 0.1262 0.006) |
| OKLCH | oklch(39.48% 0.126 2.7) |
| XYZ | xyz(9.3013, 5.4163, 5.4051) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.28
Merlot
#730039
ΔE00 3.95
Red Purple
#820747
ΔE00 3.99
Mulberry
#920A4E
ΔE00 5.47
Bordeaux
#7B002C
ΔE00 5.83
Reddish Purple
#910951
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#791F40 #1F7958
analogous
#791F6D #791F40 #792B1F
triadic
#791F40 #40791F #1F4079
tetradic
#791F40 #6D791F #1F7958 #2B1F79
square
#791F40 #6D791F #1F7958 #2B1F79
split-complementary
#791F40 #1F792B #1F6D79
monochromatic
#18060D #481326 #791F40 #AA2B5A #CF4377
Accessibility & contrast
On white
10.08
#791F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#791F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #791F40
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##791F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##791F40 | 1.00 | 10.08 | 2.08 | 10.08 |
| #FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333741
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#84102D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #791f40; /* rgb */ color: rgb(121, 31, 64); /* oklch */ color: oklch(39.5% 0.126 2.7);
Tailwind
colors: {
custom: {
50: '#a46374',
500: '#791f40',
950: '#000000',
},
}SCSS
$custom: #791f40; $custom-light: #a46374; $custom-dark: #000000;
JSON
{
"hex": "#791f40",
"rgb": {
"r": 121,
"g": 31,
"b": 64
},
"hsl": {
"h": 338,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.39481,
"c": 0.12638,
"h": 2.7
},
"luminance": 0.05415
}Semantic roles & 50–950 ramp
primary
#791F40
secondary
#47AC87
accent
#E2A945
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B