#9A2226#9A2226

#9A2226 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.3% C 0.156 H 24.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#9A2226
RGBrgb(154, 34, 38)
HSLhsl(358, 64%, 37%)
HSVhsv(358, 78%, 60%)
CMYKcmyk(0%, 77.9%, 75.3%, 39.6%)
CIE-LABlab(34.31, 48.78, 28.72)
CIE-LCHlch(34.31, 56.61, 30.49°)
OKLaboklab(45.26% 0.1417 0.0647)
OKLCHoklch(45.26% 0.156 24.5)
XYZxyz(14.2500, 8.1563, 2.6573)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2226 #229A96
analogous
#9A2262 #9A2226 #9A5A22
triadic
#9A2226 #269A22 #22269A
tetradic
#9A2226 #629A22 #229A96 #5A229A
square
#9A2226 #629A22 #229A96 #5A229A
split-complementary
#9A2226 #229A5A #22629A
monochromatic
#360C0D #68171A #9A2226 #CC2D32 #DB5B60

Accessibility & contrast

On white

7.98
#9A2226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A2226
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2226#FFFFFF#000000##FFFFFF
##9A22261.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464025
Deuteranopia (green-blind)
#645A22
Tritanopia (blue-blind)
#AA0025
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a2226;
/* rgb */ color: rgb(154, 34, 38);
/* oklch */ color: oklch(45.3% 0.156 24.5);
Tailwind
colors: {
  custom: {
    50: '#c06860',
    500: '#9a2226',
    950: '#000000',
  },
}
SCSS
$custom: #9a2226;
$custom-light: #c06860;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2226",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 38
  },
  "hsl": {
    "h": 358,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45255,
    "c": 0.15575,
    "h": 24.5
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#9A2226
secondary
#58BFBC
accent
#E7E141
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140705
muted
#827A79

Preview Lab

Preview with #9A2226

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

Preview Lab → · Contrast checker → · Palette generator →

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