#9A2222#9A2222

#9A2222 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.2% C 0.156 H 26.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#9A2222
RGBrgb(154, 34, 34)
HSLhsl(0, 64%, 37%)
HSVhsv(0, 78%, 60%)
CMYKcmyk(0%, 77.9%, 77.9%, 39.6%)
CIE-LABlab(34.26, 48.62, 31.08)
CIE-LCHlch(34.26, 57.70, 32.59°)
OKLaboklab(45.2% 0.1403 0.0688)
OKLCHoklch(45.2% 0.156 26.1)
XYZxyz(14.1889, 8.1318, 2.3356)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2222 #229A9A
analogous
#9A225E #9A2222 #9A5E22
triadic
#9A2222 #229A22 #22229A
tetradic
#9A2222 #5E9A22 #229A9A #5E229A
square
#9A2222 #5E9A22 #229A9A #5E229A
split-complementary
#9A2222 #229A5E #225E9A
monochromatic
#360C0C #681717 #9A2222 #CC2D2D #DB5B5B

Accessibility & contrast

On white

8.00
#9A2222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#9A2222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2222
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2222#FFFFFF#000000##FFFFFF
##9A22221.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474020
Deuteranopia (green-blind)
#655A1D
Tritanopia (blue-blind)
#AA0024
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a2222;
/* rgb */ color: rgb(154, 34, 34);
/* oklch */ color: oklch(45.2% 0.156 26.1);
Tailwind
colors: {
  custom: {
    50: '#c0685d',
    500: '#9a2222',
    950: '#000000',
  },
}
SCSS
$custom: #9a2222;
$custom-light: #c0685d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2222",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45202,
    "c": 0.15623,
    "h": 26.1
  },
  "luminance": 0.0813
}

Semantic roles & 50–950 ramp

primary
#9A2222
secondary
#58BFBF
accent
#E7E741
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #9A2222

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

Preview Lab → · Contrast checker → · Palette generator →

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