#9D223A#9D223A

#9D223A is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.2% C 0.158 H 15.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9D223A
RGBrgb(157, 34, 58)
HSLhsl(348, 64%, 37%)
HSVhsv(348, 78%, 62%)
CMYKcmyk(0%, 78.3%, 63.1%, 38.4%)
CIE-LABlab(35.24, 50.78, 17.39)
CIE-LCHlch(35.24, 53.67, 18.90°)
OKLaboklab(46.17% 0.1521 0.0422)
OKLCHoklch(46.17% 0.158 15.5)
XYZxyz(15.2420, 8.6199, 4.8634)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D223A #229D85
analogous
#9D2277 #9D223A #9D4822
triadic
#9D223A #3A9D22 #223A9D
tetradic
#9D223A #779D22 #229D85 #48229D
square
#9D223A #779D22 #229D85 #48229D
split-complementary
#9D223A #229D48 #22779D
monochromatic
#380C15 #6B1727 #9D223A #CF2D4D #DC5D76

Accessibility & contrast

On white

7.71
#9D223A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9D223A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D223A
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D223A#FFFFFF#000000##FFFFFF
##9D223A1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45433A
Deuteranopia (green-blind)
#645C37
Tritanopia (blue-blind)
#AC002C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d223a;
/* rgb */ color: rgb(157, 34, 58);
/* oklch */ color: oklch(46.2% 0.158 15.5);
Tailwind
colors: {
  custom: {
    50: '#c1696f',
    500: '#9d223a',
    950: '#000000',
  },
}
SCSS
$custom: #9d223a;
$custom-light: #c1696f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d223a",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 58
  },
  "hsl": {
    "h": 348.293,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46165,
    "c": 0.15781,
    "h": 15.5
  },
  "luminance": 0.08618
}

Semantic roles & 50–950 ramp

primary
#9D223A
secondary
#5AC1AD
accent
#E7C740
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D223A

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

Preview Lab → · Contrast checker → · Palette generator →

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