#45171F#45171F
#45171F is a dark, moderate red. Relative luminance 0.020; OKLCH L 27.9% C 0.071 H 12.3°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).
Color values
| HEX | #45171F |
|---|---|
| RGB | rgb(69, 23, 31) |
| HSL | hsl(350, 50%, 18%) |
| HSV | hsv(350, 67%, 27%) |
| CMYK | cmyk(0%, 66.7%, 55.1%, 72.9%) |
| CIE-LAB | lab(15.37, 22.95, 5.93) |
| CIE-LCH | lch(15.37, 23.71, 14.49°) |
| OKLab | oklab(27.94% 0.0694 0.0152) |
| OKLCH | oklch(27.94% 0.071 12.3) |
| XYZ | xyz(3.0082, 1.9773, 1.5193) |
| Luminance | 0.0198 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.62
Deep Brown
#410200
ΔE00 7.31
Burgundy (survey)
#610023
ΔE00 7.79
Maroon (survey)
#650021
ΔE00 8.40
Dried Blood
#4B0101
ΔE00 8.63
Mahogany
#4A0100
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45171F #17453D
analogous
#451736 #45171F #452617
triadic
#45171F #1F4517 #171F45
tetradic
#45171F #364517 #17453D #261745
square
#45171F #364517 #17453D #261745
split-complementary
#45171F #174526 #173645
monochromatic
#17080A #17080A #45171F #732634 #A13648
Accessibility & contrast
On white
15.05
#45171F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#45171F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45171F
15.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45171F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45171F | 1.00 | 15.05 | 1.40 | 15.05 |
| #FFFFFF | 15.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21211F
Deuteranopia (green-blind)
#2D2A1E
Tritanopia (blue-blind)
#4C101A
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #45171f; /* rgb */ color: rgb(69, 23, 31); /* oklch */ color: oklch(27.9% 0.071 12.3);
Tailwind
colors: {
custom: {
50: '#7c565a',
500: '#45171f',
950: '#000000',
},
}SCSS
$custom: #45171f; $custom-light: #7c565a; $custom-dark: #000000;
JSON
{
"hex": "#45171f",
"rgb": {
"r": 69,
"g": 23,
"b": 31
},
"hsl": {
"h": 349.565,
"s": 50,
"l": 18.039
},
"oklch": {
"l": 0.27935,
"c": 0.07107,
"h": 12.3
},
"luminance": 0.01977
}Semantic roles & 50–950 ramp
primary
#45171F
secondary
#3C7C71
accent
#DAC14E
background
#F7F5F5
surface
#EEE9E9
border
#C9C5C5
text
#0A0303
muted
#7C7878