#9E2020#9E2020

#9E2020 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.8% C 0.162 H 26.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9E2020
RGBrgb(158, 32, 32)
HSLhsl(0, 66%, 37%)
HSVhsv(0, 80%, 62%)
CMYKcmyk(0%, 79.7%, 79.7%, 38%)
CIE-LABlab(34.82, 50.42, 33.10)
CIE-LCHlch(34.82, 60.32, 33.28°)
OKLaboklab(45.76% 0.145 0.0722)
OKLCHoklch(45.76% 0.162 26.5)
XYZxyz(14.8796, 8.4088, 2.2058)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2020 #209E9E
analogous
#9E205F #9E2020 #9E5F20
triadic
#9E2020 #209E20 #20209E
tetradic
#9E2020 #5F9E20 #209E9E #5F209E
square
#9E2020 #5F9E20 #209E9E #5F209E
split-complementary
#9E2020 #209E5F #205F9E
monochromatic
#380B0B #6B1616 #9E2020 #D12A2A #DE5B5B

Accessibility & contrast

On white

7.83
#9E2020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9E2020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2020
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2020#FFFFFF#000000##FFFFFF
##9E20201.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48401E
Deuteranopia (green-blind)
#675C1A
Tritanopia (blue-blind)
#AE0022
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e2020;
/* rgb */ color: rgb(158, 32, 32);
/* oklch */ color: oklch(45.8% 0.162 26.5);
Tailwind
colors: {
  custom: {
    50: '#c4685c',
    500: '#9e2020',
    950: '#000000',
  },
}
SCSS
$custom: #9e2020;
$custom-light: #c4685c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2020",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 32
  },
  "hsl": {
    "h": 0,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45759,
    "c": 0.16203,
    "h": 26.5
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

primary
#9E2020
secondary
#58C2C2
accent
#E9E93F
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9E2020

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9E2020 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva