#98231B#98231B
#98231B is a dark, vivid red. Relative luminance 0.080; OKLCH L 44.8% C 0.154 H 28.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #98231B |
|---|---|
| RGB | rgb(152, 35, 27) |
| HSL | hsl(4, 70%, 35%) |
| HSV | hsv(4, 82%, 60%) |
| CMYK | cmyk(0%, 77%, 82.2%, 40.4%) |
| CIE-LAB | lab(33.90, 47.40, 34.62) |
| CIE-LCH | lch(33.90, 58.70, 36.15°) |
| OKLab | oklab(44.84% 0.1352 0.0744) |
| OKLCH | oklch(44.84% 0.154 28.8) |
| XYZ | xyz(13.7494, 7.9588, 1.8489) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 3.08
Brownish Red
#9E3623
ΔE00 4.05
Brown
#A52A2A
ΔE00 4.11
Blood Red
#980002
ΔE00 4.12
Brick
#A03623
ΔE00 4.23
Darkish Red
#A90308
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98231B #1B9098
analogous
#981B51 #98231B #98611B
triadic
#98231B #1B9823 #231B98
tetradic
#98231B #51981B #1B9098 #611B98
square
#98231B #51981B #1B9098 #611B98
split-complementary
#98231B #1B9861 #1B5198
monochromatic
#300B09 #641712 #98231B #CC2F24 #E0574E
Accessibility & contrast
On white
8.10
#98231B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#98231B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98231B
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98231B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98231B | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#473F19
Deuteranopia (green-blind)
#645915
Tritanopia (blue-blind)
#A80023
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #98231b; /* rgb */ color: rgb(152, 35, 27); /* oklch */ color: oklch(44.8% 0.154 28.8);
Tailwind
colors: {
custom: {
50: '#bf6858',
500: '#98231b',
950: '#000000',
},
}SCSS
$custom: #98231b; $custom-light: #bf6858; $custom-dark: #000000;
JSON
{
"hex": "#98231b",
"rgb": {
"r": 152,
"g": 35,
"b": 27
},
"hsl": {
"h": 3.84,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.44838,
"c": 0.15432,
"h": 28.8
},
"luminance": 0.07957
}Semantic roles & 50–950 ramp
primary
#98231B
secondary
#4DBAC2
accent
#E1ED3B
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78