#9D213B#9D213B

#9D213B is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.1% C 0.159 H 14.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9D213B
RGBrgb(157, 33, 59)
HSLhsl(347, 65%, 37%)
HSVhsv(347, 79%, 62%)
CMYKcmyk(0%, 79%, 62.4%, 38.4%)
CIE-LABlab(35.15, 51.16, 16.62)
CIE-LCHlch(35.15, 53.79, 18.00°)
OKLaboklab(46.1% 0.1535 0.0405)
OKLCHoklch(46.1% 0.159 14.8)
XYZxyz(15.2395, 8.5739, 4.9893)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D213B #219D83
analogous
#9D2179 #9D213B #9D4521
triadic
#9D213B #3B9D21 #213B9D
tetradic
#9D213B #799D21 #219D83 #45219D
square
#9D213B #799D21 #219D83 #45219D
split-complementary
#9D213B #219D45 #21799D
monochromatic
#380C15 #6A1628 #9D213B #D02C4E #DD5C77

Accessibility & contrast

On white

7.74
#9D213B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9D213B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D213B
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D213B#FFFFFF#000000##FFFFFF
##9D213B1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d213b;
/* rgb */ color: rgb(157, 33, 59);
/* oklch */ color: oklch(46.1% 0.159 14.8);
Tailwind
colors: {
  custom: {
    50: '#c16970',
    500: '#9d213b',
    950: '#000000',
  },
}
SCSS
$custom: #9d213b;
$custom-light: #c16970;
$custom-dark: #000000;
JSON
{
  "hex": "#9d213b",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 59
  },
  "hsl": {
    "h": 347.419,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46104,
    "c": 0.15874,
    "h": 14.8
  },
  "luminance": 0.08572
}

Semantic roles & 50–950 ramp

primary
#9D213B
secondary
#59C1AB
accent
#E8C540
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D213B

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

Preview Lab → · Contrast checker → · Palette generator →

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