#9D2F21#9D2F21

#9D2F21 is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.0% C 0.148 H 30.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9D2F21
RGBrgb(157, 47, 33)
HSLhsl(7, 65%, 37%)
HSVhsv(7, 79%, 62%)
CMYKcmyk(0%, 70.1%, 79%, 38.4%)
CIE-LABlab(36.58, 44.74, 34.30)
CIE-LCHlch(36.58, 56.38, 37.48°)
OKLaboklab(47.04% 0.1275 0.0753)
OKLCHoklch(47.04% 0.148 30.5)
XYZxyz(15.1974, 9.3132, 2.4360)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F21 #218F9D
analogous
#9D2151 #9D2F21 #9D6D21
triadic
#9D2F21 #219D2F #2F219D
tetradic
#9D2F21 #519D21 #218F9D #6D219D
square
#9D2F21 #519D21 #218F9D #6D219D
split-complementary
#9D2F21 #219D6D #21519D
monochromatic
#38110C #6A2016 #9D2F21 #D03E2C #DD6A5C

Accessibility & contrast

On white

7.34
#9D2F21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9D2F21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2F21
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F21#FFFFFF#000000##FFFFFF
##9D2F211.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2f21;
/* rgb */ color: rgb(157, 47, 33);
/* oklch */ color: oklch(47.0% 0.148 30.5);
Tailwind
colors: {
  custom: {
    50: '#c26e5d',
    500: '#9d2f21',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f21;
$custom-light: #c26e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f21",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 33
  },
  "hsl": {
    "h": 6.774,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4704,
    "c": 0.14807,
    "h": 30.5
  },
  "luminance": 0.09311
}

Semantic roles & 50–950 ramp

primary
#9D2F21
secondary
#59B5C1
accent
#D5E840
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140804
muted
#837B79

Preview Lab

Preview with #9D2F21

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

Preview Lab → · Contrast checker → · Palette generator →

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