#98251F#98251F
#98251F is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.1% C 0.152 H 28.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #98251F |
|---|---|
| RGB | rgb(152, 37, 31) |
| HSL | hsl(3, 66%, 36%) |
| HSV | hsv(3, 80%, 60%) |
| CMYK | cmyk(0%, 75.7%, 79.6%, 40.4%) |
| CIE-LAB | lab(34.19, 46.84, 32.65) |
| CIE-LCH | lch(34.19, 57.09, 34.88°) |
| OKLab | oklab(45.07% 0.1343 0.0714) |
| OKLCH | oklch(45.07% 0.152 28) |
| XYZ | xyz(13.8594, 8.0996, 2.1297) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 3.11
Brown
#A52A2A
ΔE00 3.43
Brownish Red
#9E3623
ΔE00 4.18
Brick
#A03623
ΔE00 4.36
Crimson (survey)
#8C000F
ΔE00 4.77
Darkish Red
#A90308
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98251F #1F9298
analogous
#981F55 #98251F #98611F
triadic
#98251F #1F9825 #251F98
tetradic
#98251F #55981F #1F9298 #611F98
square
#98251F #55981F #1F9298 #611F98
split-complementary
#98251F #1F9861 #1F5598
monochromatic
#320C0A #651915 #98251F #CB3129 #DC5C55
Accessibility & contrast
On white
8.02
#98251F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#98251F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98251F
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98251F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98251F | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48401D
Deuteranopia (green-blind)
#64591A
Tritanopia (blue-blind)
#A80025
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #98251f; /* rgb */ color: rgb(152, 37, 31); /* oklch */ color: oklch(45.1% 0.152 28.0);
Tailwind
colors: {
custom: {
50: '#bf695b',
500: '#98251f',
950: '#000000',
},
}SCSS
$custom: #98251f; $custom-light: #bf695b; $custom-dark: #000000;
JSON
{
"hex": "#98251f",
"rgb": {
"r": 152,
"g": 37,
"b": 31
},
"hsl": {
"h": 2.975,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.4507,
"c": 0.15207,
"h": 28
},
"luminance": 0.08097
}Semantic roles & 50–950 ramp
primary
#98251F
secondary
#53BAC0
accent
#E1E93F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79