#9D2222#9D2222

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

Color values

HEX#9D2222
RGBrgb(157, 34, 34)
HSLhsl(0, 64%, 37%)
HSVhsv(0, 78%, 62%)
CMYKcmyk(0%, 78.3%, 78.3%, 38.4%)
CIE-LABlab(34.86, 49.56, 31.91)
CIE-LCHlch(34.86, 58.94, 32.78°)
OKLaboklab(45.76% 0.1429 0.0703)
OKLCHoklch(45.76% 0.159 26.2)
XYZxyz(14.7672, 8.4300, 2.3627)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2222 #229D9D
analogous
#9D2260 #9D2222 #9D6022
triadic
#9D2222 #229D22 #22229D
tetradic
#9D2222 #609D22 #229D9D #60229D
square
#9D2222 #609D22 #229D9D #60229D
split-complementary
#9D2222 #229D60 #22609D
monochromatic
#380C0C #6B1717 #9D2222 #CF2D2D #DC5D5D

Accessibility & contrast

On white

7.82
#9D2222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2222
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2222#FFFFFF#000000##FFFFFF
##9D22221.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484120
Deuteranopia (green-blind)
#665C1D
Tritanopia (blue-blind)
#AD0024
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d2222;
/* rgb */ color: rgb(157, 34, 34);
/* oklch */ color: oklch(45.8% 0.159 26.2);
Tailwind
colors: {
  custom: {
    50: '#c3695d',
    500: '#9d2222',
    950: '#000000',
  },
}
SCSS
$custom: #9d2222;
$custom-light: #c3695d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2222",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45762,
    "c": 0.15925,
    "h": 26.2
  },
  "luminance": 0.08428
}

Semantic roles & 50–950 ramp

primary
#9D2222
secondary
#5AC1C1
accent
#E7E740
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9D2222

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

Preview Lab → · Contrast checker → · Palette generator →

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