#9A223A#9A223A

#9A223A is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.6% C 0.155 H 15.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#9A223A
RGBrgb(154, 34, 58)
HSLhsl(348, 64%, 37%)
HSVhsv(348, 78%, 60%)
CMYKcmyk(0%, 77.9%, 62.3%, 39.6%)
CIE-LABlab(34.64, 49.87, 16.49)
CIE-LCHlch(34.64, 52.53, 18.29°)
OKLaboklab(45.62% 0.1496 0.0402)
OKLCHoklch(45.62% 0.155 15.1)
XYZxyz(14.6637, 8.3217, 4.8363)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A223A #229A82
analogous
#9A2276 #9A223A #9A4622
triadic
#9A223A #3A9A22 #223A9A
tetradic
#9A223A #769A22 #229A82 #46229A
square
#9A223A #769A22 #229A82 #46229A
split-complementary
#9A223A #229A46 #22769A
monochromatic
#360C14 #681727 #9A223A #CC2D4D #DB5B75

Accessibility & contrast

On white

7.88
#9A223A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9A223A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A223A
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A223A#FFFFFF#000000##FFFFFF
##9A223A1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44423A
Deuteranopia (green-blind)
#625A37
Tritanopia (blue-blind)
#A9002C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a223a;
/* rgb */ color: rgb(154, 34, 58);
/* oklch */ color: oklch(45.6% 0.155 15.1);
Tailwind
colors: {
  custom: {
    50: '#bf696f',
    500: '#9a223a',
    950: '#000000',
  },
}
SCSS
$custom: #9a223a;
$custom-light: #bf696f;
$custom-dark: #000000;
JSON
{
  "hex": "#9a223a",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 58
  },
  "hsl": {
    "h": 348,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45615,
    "c": 0.15487,
    "h": 15.1
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#9A223A
secondary
#58BFAB
accent
#E7C641
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130707
muted
#827A7A

Preview Lab

Preview with #9A223A

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

Preview Lab → · Contrast checker → · Palette generator →

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