#271F20#271F20
#271F20 is a very dark, near-neutral red. Relative luminance 0.015; OKLCH L 24.9% C 0.012 H 9.5°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).
Color values
| HEX | #271F20 |
|---|---|
| RGB | rgb(39, 31, 32) |
| HSL | hsl(353, 11%, 14%) |
| HSV | hsv(353, 21%, 15%) |
| CMYK | cmyk(0%, 20.5%, 17.9%, 84.7%) |
| CIE-LAB | lab(12.71, 4.07, 0.76) |
| CIE-LCH | lch(12.71, 4.14, 10.62°) |
| OKLab | oklab(24.9% 0.0123 0.0021) |
| OKLCH | oklch(24.9% 0.012 9.5) |
| XYZ | xyz(1.5874, 1.5156, 1.5751) |
| Luminance | 0.0152 (WCAG relative) |
| Temperature | neutral |
| Family | red |
Closest named colors
Very Dark Brown
#1D0200
ΔE00 8.77
Dark Grey
#363737
ΔE00 9.30
Black
#000000
ΔE00 9.40
Almost Black
#070D0D
ΔE00 10.06
Onyx
#353839
ΔE00 10.31
Dark
#1B2431
ΔE00 10.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#271F20 #1F2726
analogous
#271F24 #271F20 #27221F
triadic
#271F20 #20271F #1F2027
tetradic
#271F20 #24271F #1F2726 #221F27
square
#271F20 #24271F #1F2726 #221F27
split-complementary
#271F20 #1F2722 #1F2427
monochromatic
#110E0E #110E0E #271F20 #493A3C #6B5558
Accessibility & contrast
On white
16.11
#271F20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#271F20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #271F20
16.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##271F20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##271F20 | 1.00 | 16.11 | 1.30 | 16.11 |
| #FFFFFF | 16.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202020
Deuteranopia (green-blind)
#222120
Tritanopia (blue-blind)
#291E1F
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #271f20; /* rgb */ color: rgb(39, 31, 32); /* oklch */ color: oklch(24.9% 0.012 9.5);
Tailwind
colors: {
custom: {
50: '#615a5b',
500: '#271f20',
950: '#000000',
},
}SCSS
$custom: #271f20; $custom-light: #615a5b; $custom-dark: #000000;
JSON
{
"hex": "#271f20",
"rgb": {
"r": 39,
"g": 31,
"b": 32
},
"hsl": {
"h": 352.5,
"s": 11.429,
"l": 13.725
},
"oklch": {
"l": 0.24902,
"c": 0.01249,
"h": 9.5
},
"luminance": 0.01516
}Semantic roles & 50–950 ramp
primary
#271F20
secondary
#4A5756
accent
#B4AC73
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050304
muted
#797879