#9A2227#9A2227

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

Color values

HEX#9A2227
RGBrgb(154, 34, 39)
HSLhsl(358, 64%, 37%)
HSVhsv(358, 78%, 60%)
CMYKcmyk(0%, 77.9%, 74.7%, 39.6%)
CIE-LABlab(34.32, 48.83, 28.12)
CIE-LCHlch(34.32, 56.35, 29.94°)
OKLaboklab(45.27% 0.1421 0.0636)
OKLCHoklch(45.27% 0.156 24.1)
XYZxyz(14.2663, 8.1628, 2.7435)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2227 #229A95
analogous
#9A2263 #9A2227 #9A5922
triadic
#9A2227 #279A22 #22279A
tetradic
#9A2227 #639A22 #229A95 #59229A
square
#9A2227 #639A22 #229A95 #59229A
split-complementary
#9A2227 #229A59 #22639A
monochromatic
#360C0E #68171A #9A2227 #CC2D34 #DB5B61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A2227#FFFFFF#000000##FFFFFF
##9A22271.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)
#464026
Deuteranopia (green-blind)
#645A23
Tritanopia (blue-blind)
#AA0025
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a2227;
/* rgb */ color: rgb(154, 34, 39);
/* oklch */ color: oklch(45.3% 0.156 24.1);
Tailwind
colors: {
  custom: {
    50: '#c06861',
    500: '#9a2227',
    950: '#000000',
  },
}
SCSS
$custom: #9a2227;
$custom-light: #c06861;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2227",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 357.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4527,
    "c": 0.15565,
    "h": 24.1
  },
  "luminance": 0.08161
}

Semantic roles & 50–950 ramp

primary
#9A2227
secondary
#58BFBB
accent
#E7E041
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140705
muted
#827A79

Preview Lab

Preview with #9A2227

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

Preview Lab → · Contrast checker → · Palette generator →

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