#9A2228#9A2228

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

Color values

HEX#9A2228
RGBrgb(154, 34, 40)
HSLhsl(357, 64%, 37%)
HSVhsv(357, 78%, 60%)
CMYKcmyk(0%, 77.9%, 74%, 39.6%)
CIE-LABlab(34.33, 48.87, 27.53)
CIE-LCHlch(34.33, 56.09, 29.39°)
OKLaboklab(45.28% 0.1424 0.0625)
OKLCHoklch(45.28% 0.156 23.7)
XYZxyz(14.2831, 8.1695, 2.8319)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2228 #229A94
analogous
#9A2264 #9A2228 #9A5822
triadic
#9A2228 #289A22 #22289A
tetradic
#9A2228 #649A22 #229A94 #58229A
square
#9A2228 #649A22 #229A94 #58229A
split-complementary
#9A2228 #229A58 #22649A
monochromatic
#360C0E #68171B #9A2228 #CC2D35 #DB5B62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A2228#FFFFFF#000000##FFFFFF
##9A22281.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)
#464027
Deuteranopia (green-blind)
#645A24
Tritanopia (blue-blind)
#AA0026
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a2228;
/* rgb */ color: rgb(154, 34, 40);
/* oklch */ color: oklch(45.3% 0.156 23.7);
Tailwind
colors: {
  custom: {
    50: '#c06862',
    500: '#9a2228',
    950: '#000000',
  },
}
SCSS
$custom: #9a2228;
$custom-light: #c06862;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2228",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 357,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45284,
    "c": 0.15554,
    "h": 23.7
  },
  "luminance": 0.08167
}

Semantic roles & 50–950 ramp

primary
#9A2228
secondary
#58BFBA
accent
#E7DF41
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79

Preview Lab

Preview with #9A2228

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

Preview Lab → · Contrast checker → · Palette generator →

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