#9D231D#9D231D

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

Color values

HEX#9D231D
RGBrgb(157, 35, 29)
HSLhsl(3, 69%, 36%)
HSVhsv(3, 82%, 62%)
CMYKcmyk(0%, 77.7%, 81.5%, 38.4%)
CIE-LABlab(34.93, 49.06, 34.86)
CIE-LCHlch(34.93, 60.18, 35.40°)
OKLaboklab(45.79% 0.1402 0.0752)
OKLCHoklch(45.79% 0.159 28.2)
XYZxyz(14.7292, 8.4612, 2.0198)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D231D #1D979D
analogous
#9D1D57 #9D231D #9D631D
triadic
#9D231D #1D9D23 #231D9D
tetradic
#9D231D #579D1D #1D979D #631D9D
square
#9D231D #579D1D #1D979D #631D9D
split-complementary
#9D231D #1D9D63 #1D579D
monochromatic
#360C0A #691713 #9D231D #D12F27 #E05B55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D231D#FFFFFF#000000##FFFFFF
##9D231D1.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)
#49411B
Deuteranopia (green-blind)
#675C17
Tritanopia (blue-blind)
#AD0023
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d231d;
/* rgb */ color: rgb(157, 35, 29);
/* oklch */ color: oklch(45.8% 0.159 28.2);
Tailwind
colors: {
  custom: {
    50: '#c3695a',
    500: '#9d231d',
    950: '#000000',
  },
}
SCSS
$custom: #9d231d;
$custom-light: #c3695a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d231d",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 29
  },
  "hsl": {
    "h": 2.813,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45791,
    "c": 0.1591,
    "h": 28.2
  },
  "luminance": 0.08459
}

Semantic roles & 50–950 ramp

primary
#9D231D
secondary
#53BEC3
accent
#E3EC3C
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9D231D

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

Preview Lab → · Contrast checker → · Palette generator →

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