#9D2A1F#9D2A1F

#9D2A1F is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.5% C 0.153 H 29.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#9D2A1F
RGBrgb(157, 42, 31)
HSLhsl(5, 67%, 37%)
HSVhsv(5, 80%, 62%)
CMYKcmyk(0%, 73.2%, 80.3%, 38.4%)
CIE-LABlab(35.84, 46.64, 34.66)
CIE-LCHlch(35.84, 58.11, 36.62°)
OKLaboklab(46.48% 0.1331 0.0754)
OKLCHoklch(46.48% 0.153 29.5)
XYZxyz(14.9817, 8.9253, 2.2300)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A1F #1F929D
analogous
#9D1F53 #9D2A1F #9D691F
triadic
#9D2A1F #1F9D2A #2A1F9D
tetradic
#9D2A1F #539D1F #1F929D #691F9D
square
#9D2A1F #539D1F #1F929D #691F9D
split-complementary
#9D2A1F #1F9D69 #1F539D
monochromatic
#370F0B #6A1C15 #9D2A1F #D03829 #DE6458

Accessibility & contrast

On white

7.54
#9D2A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9D2A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2A1F
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A1F#FFFFFF#000000##FFFFFF
##9D2A1F1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C441D
Deuteranopia (green-blind)
#695D1A
Tritanopia (blue-blind)
#AD0029
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d2a1f;
/* rgb */ color: rgb(157, 42, 31);
/* oklch */ color: oklch(46.5% 0.153 29.5);
Tailwind
colors: {
  custom: {
    50: '#c26c5c',
    500: '#9d2a1f',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a1f;
$custom-light: #c26c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a1f",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 31
  },
  "hsl": {
    "h": 5.238,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4648,
    "c": 0.15294,
    "h": 29.5
  },
  "luminance": 0.08923
}

Semantic roles & 50–950 ramp

primary
#9D2A1F
secondary
#56B8C2
accent
#DBEA3E
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9D2A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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