#9A2229#9A2229

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

Color values

HEX#9A2229
RGBrgb(154, 34, 41)
HSLhsl(357, 64%, 37%)
HSVhsv(357, 78%, 60%)
CMYKcmyk(0%, 77.9%, 73.4%, 39.6%)
CIE-LABlab(34.35, 48.92, 26.92)
CIE-LCHlch(34.35, 55.84, 28.83°)
OKLaboklab(45.3% 0.1428 0.0614)
OKLCHoklch(45.3% 0.155 23.3)
XYZxyz(14.3003, 8.1764, 2.9226)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2229 #229A93
analogous
#9A2265 #9A2229 #9A5722
triadic
#9A2229 #299A22 #22299A
tetradic
#9A2229 #659A22 #229A93 #57229A
square
#9A2229 #659A22 #229A93 #57229A
split-complementary
#9A2229 #229A57 #22659A
monochromatic
#360C0E #68171C #9A2229 #CC2D36 #DB5B63

Accessibility & contrast

On white

7.97
#9A2229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A2229
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2229#FFFFFF#000000##FFFFFF
##9A22291.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464028
Deuteranopia (green-blind)
#645A25
Tritanopia (blue-blind)
#AA0026
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a2229;
/* rgb */ color: rgb(154, 34, 41);
/* oklch */ color: oklch(45.3% 0.155 23.3);
Tailwind
colors: {
  custom: {
    50: '#c06863',
    500: '#9a2229',
    950: '#000000',
  },
}
SCSS
$custom: #9a2229;
$custom-light: #c06863;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2229",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 41
  },
  "hsl": {
    "h": 356.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45299,
    "c": 0.15544,
    "h": 23.3
  },
  "luminance": 0.08174
}

Semantic roles & 50–950 ramp

primary
#9A2229
secondary
#58BFB9
accent
#E7DD41
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79

Preview Lab

Preview with #9A2229

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

Preview Lab → · Contrast checker → · Palette generator →

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