#9D231E#9D231E

#9D231E is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.8% C 0.159 H 27.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9D231E
RGBrgb(157, 35, 30)
HSLhsl(2, 68%, 37%)
HSVhsv(2, 81%, 62%)
CMYKcmyk(0%, 77.7%, 80.9%, 38.4%)
CIE-LABlab(34.94, 49.09, 34.30)
CIE-LCHlch(34.94, 59.89, 34.94°)
OKLaboklab(45.8% 0.1405 0.0743)
OKLCHoklch(45.8% 0.159 27.9)
XYZxyz(14.7418, 8.4662, 2.0860)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D231E #1E989D
analogous
#9D1E59 #9D231E #9D631E
triadic
#9D231E #1E9D23 #231E9D
tetradic
#9D231E #599D1E #1E989D #631E9D
square
#9D231E #599D1E #1E989D #631E9D
split-complementary
#9D231E #1E9D63 #1E599D
monochromatic
#360C0A #6A1814 #9D231E #D02E28 #DF5C57

Accessibility & contrast

On white

7.80
#9D231E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9D231E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D231E
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D231E#FFFFFF#000000##FFFFFF
##9D231E1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49411C
Deuteranopia (green-blind)
#675C18
Tritanopia (blue-blind)
#AD0023
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d231e;
/* rgb */ color: rgb(157, 35, 30);
/* oklch */ color: oklch(45.8% 0.159 27.9);
Tailwind
colors: {
  custom: {
    50: '#c3695b',
    500: '#9d231e',
    950: '#000000',
  },
}
SCSS
$custom: #9d231e;
$custom-light: #c3695b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d231e",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 2.362,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45802,
    "c": 0.15896,
    "h": 27.9
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#9D231E
secondary
#54BEC2
accent
#E4EB3D
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9D231E

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

Preview Lab → · Contrast checker → · Palette generator →

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