#9E2F21#9E2F21

#9E2F21 is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.2% C 0.149 H 30.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9E2F21
RGBrgb(158, 47, 33)
HSLhsl(7, 65%, 37%)
HSVhsv(7, 79%, 62%)
CMYKcmyk(0%, 70.3%, 79.1%, 38%)
CIE-LABlab(36.77, 45.09, 34.56)
CIE-LCHlch(36.77, 56.81, 37.47°)
OKLaboklab(47.22% 0.1285 0.0757)
OKLCHoklch(47.22% 0.149 30.5)
XYZxyz(15.3933, 9.4143, 2.4451)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F21 #21909E
analogous
#9E2152 #9E2F21 #9E6E21
triadic
#9E2F21 #219E2F #2F219E
tetradic
#9E2F21 #529E21 #21909E #6E219E
square
#9E2F21 #529E21 #21909E #6E219E
split-complementary
#9E2F21 #219E6E #21529E
monochromatic
#39110C #6B2016 #9E2F21 #D13E2C #DD6B5C

Accessibility & contrast

On white

7.29
#9E2F21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9E2F21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2F21
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F21#FFFFFF#000000##FFFFFF
##9E2F211.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F471E
Deuteranopia (green-blind)
#6B5F1C
Tritanopia (blue-blind)
#AE062D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e2f21;
/* rgb */ color: rgb(158, 47, 33);
/* oklch */ color: oklch(47.2% 0.149 30.5);
Tailwind
colors: {
  custom: {
    50: '#c36f5d',
    500: '#9e2f21',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f21;
$custom-light: #c36f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f21",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 33
  },
  "hsl": {
    "h": 6.72,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47217,
    "c": 0.14915,
    "h": 30.5
  },
  "luminance": 0.09412
}

Semantic roles & 50–950 ramp

primary
#9E2F21
secondary
#59B6C1
accent
#D5E83F
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140804
muted
#837B79

Preview Lab

Preview with #9E2F21

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

Preview Lab → · Contrast checker → · Palette generator →

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