#4F271C#4F271C
#4F271C is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.4% C 0.063 H 36.3°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4F271C |
|---|---|
| RGB | rgb(79, 39, 28) |
| HSL | hsl(13, 48%, 21%) |
| HSV | hsv(13, 65%, 31%) |
| CMYK | cmyk(0%, 50.6%, 64.6%, 69%) |
| CIE-LAB | lab(20.82, 17.50, 15.57) |
| CIE-LCH | lch(20.82, 23.43, 41.66°) |
| OKLab | oklab(32.4% 0.0509 0.0374) |
| OKLCH | oklch(32.4% 0.063 36.3) |
| XYZ | xyz(4.1599, 3.1976, 1.4965) |
| Luminance | 0.0320 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Chocolate Brown
#411900
ΔE00 5.85
Chocolate (survey)
#3D1C02
ΔE00 6.81
Mahogany
#4A0100
ΔE00 9.32
Dried Blood
#4B0101
ΔE00 9.34
Dark Brown
#341C02
ΔE00 9.54
Deep Brown
#410200
ΔE00 9.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F271C #1C444F
analogous
#4F1C2A #4F271C #4F401C
triadic
#4F271C #1C4F27 #271C4F
tetradic
#4F271C #2A4F1C #1C444F #401C4F
square
#4F271C #2A4F1C #1C444F #401C4F
split-complementary
#4F271C #1C4F40 #1C2A4F
monochromatic
#170B08 #22110C #4F271C #7C3D2C #A9543C
Accessibility & contrast
On white
12.81
#4F271C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#4F271C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F271C
12.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F271C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F271C | 1.00 | 12.81 | 1.64 | 12.81 |
| #FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#312D1B
Deuteranopia (green-blind)
#3B351B
Tritanopia (blue-blind)
#572024
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #4f271c; /* rgb */ color: rgb(79, 39, 28); /* oklch */ color: oklch(32.4% 0.063 36.3);
Tailwind
colors: {
custom: {
50: '#836258',
500: '#4f271c',
950: '#000000',
},
}SCSS
$custom: #4f271c; $custom-light: #836258; $custom-dark: #000000;
JSON
{
"hex": "#4f271c",
"rgb": {
"r": 79,
"g": 39,
"b": 28
},
"hsl": {
"h": 12.941,
"s": 47.664,
"l": 20.98
},
"oklch": {
"l": 0.324,
"c": 0.06319,
"h": 36.3
},
"luminance": 0.03197
}Semantic roles & 50–950 ramp
primary
#4F271C
secondary
#427685
accent
#BAD751
background
#F8F5F5
surface
#EFEAE9
border
#CAC6C5
text
#0B0503
muted
#7C7978