#9D2021#9D2021

#9D2021 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.6% C 0.161 H 26.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#9D2021
RGBrgb(157, 32, 33)
HSLhsl(360, 66%, 37%)
HSVhsv(360, 80%, 62%)
CMYKcmyk(0%, 79.6%, 79%, 38.4%)
CIE-LABlab(34.63, 50.15, 32.25)
CIE-LCHlch(34.63, 59.63, 32.74°)
OKLaboklab(45.58% 0.1445 0.0708)
OKLCHoklch(45.58% 0.161 26.1)
XYZxyz(14.6974, 8.3133, 2.2693)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2021 #209D9C
analogous
#9D2060 #9D2021 #9D5E20
triadic
#9D2021 #219D20 #20219D
tetradic
#9D2021 #609D20 #209D9C #5E209D
square
#9D2021 #609D20 #209D9C #5E209D
split-complementary
#9D2021 #209D5E #20609D
monochromatic
#370B0C #6A1616 #9D2021 #D02A2C #DD5A5B

Accessibility & contrast

On white

7.89
#9D2021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9D2021 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2021
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2021#FFFFFF#000000##FFFFFF
##9D20211.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47401F
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#AD0022
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d2021;
/* rgb */ color: rgb(157, 32, 33);
/* oklch */ color: oklch(45.6% 0.161 26.1);
Tailwind
colors: {
  custom: {
    50: '#c3685d',
    500: '#9d2021',
    950: '#000000',
  },
}
SCSS
$custom: #9d2021;
$custom-light: #c3685d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2021",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 33
  },
  "hsl": {
    "h": 359.52,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45583,
    "c": 0.16092,
    "h": 26.1
  },
  "luminance": 0.08311
}

Semantic roles & 50–950 ramp

primary
#9D2021
secondary
#57C1C1
accent
#E9E83F
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9D2021

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

Preview Lab → · Contrast checker → · Palette generator →

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