#9D223B#9D223B

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

Color values

HEX#9D223B
RGBrgb(157, 34, 59)
HSLhsl(348, 64%, 37%)
HSVhsv(348, 78%, 62%)
CMYKcmyk(0%, 78.3%, 62.4%, 38.4%)
CIE-LABlab(35.26, 50.84, 16.77)
CIE-LCHlch(35.26, 53.54, 18.25°)
OKLaboklab(46.19% 0.1525 0.0409)
OKLCHoklch(46.19% 0.158 15)
XYZxyz(15.2677, 8.6302, 4.9987)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D223B #229D84
analogous
#9D2278 #9D223B #9D4722
triadic
#9D223B #3B9D22 #223B9D
tetradic
#9D223B #789D22 #229D84 #47229D
square
#9D223B #789D22 #229D84 #47229D
split-complementary
#9D223B #229D47 #22789D
monochromatic
#380C15 #6B1728 #9D223B #CF2D4E #DC5D77

Accessibility & contrast

On white

7.70
#9D223B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9D223B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D223B
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D223B#FFFFFF#000000##FFFFFF
##9D223B1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45433B
Deuteranopia (green-blind)
#645C38
Tritanopia (blue-blind)
#AC002D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d223b;
/* rgb */ color: rgb(157, 34, 59);
/* oklch */ color: oklch(46.2% 0.158 15.0);
Tailwind
colors: {
  custom: {
    50: '#c16970',
    500: '#9d223b',
    950: '#000000',
  },
}
SCSS
$custom: #9d223b;
$custom-light: #c16970;
$custom-dark: #000000;
JSON
{
  "hex": "#9d223b",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 59
  },
  "hsl": {
    "h": 347.805,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46186,
    "c": 0.15785,
    "h": 15
  },
  "luminance": 0.08628
}

Semantic roles & 50–950 ramp

primary
#9D223B
secondary
#5AC1AC
accent
#E7C540
background
#FCF6F6
surface
#F9ECEC
border
#D2C7C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D223B

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

Preview Lab → · Contrast checker → · Palette generator →

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