#9D213E#9D213E

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

Color values

HEX#9D213E
RGBrgb(157, 33, 62)
HSLhsl(346, 65%, 37%)
HSVhsv(346, 79%, 62%)
CMYKcmyk(0%, 79%, 60.5%, 38.4%)
CIE-LABlab(35.21, 51.36, 14.77)
CIE-LCHlch(35.21, 53.44, 16.05°)
OKLaboklab(46.17% 0.1547 0.0364)
OKLCHoklch(46.17% 0.159 13.2)
XYZxyz(15.3195, 8.6059, 5.4109)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D213E #219D80
analogous
#9D217C #9D213E #9D4221
triadic
#9D213E #3E9D21 #213E9D
tetradic
#9D213E #7C9D21 #219D80 #42219D
square
#9D213E #7C9D21 #219D80 #42219D
split-complementary
#9D213E #219D42 #217C9D
monochromatic
#380C16 #6A162A #9D213E #D02C52 #DD5C7A

Accessibility & contrast

On white

7.72
#9D213E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D213E
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D213E#FFFFFF#000000##FFFFFF
##9D213E1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44433E
Deuteranopia (green-blind)
#635C3B
Tritanopia (blue-blind)
#AC002D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d213e;
/* rgb */ color: rgb(157, 33, 62);
/* oklch */ color: oklch(46.2% 0.159 13.2);
Tailwind
colors: {
  custom: {
    50: '#c16973',
    500: '#9d213e',
    950: '#000000',
  },
}
SCSS
$custom: #9d213e;
$custom-light: #c16973;
$custom-dark: #000000;
JSON
{
  "hex": "#9d213e",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 62
  },
  "hsl": {
    "h": 345.968,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46171,
    "c": 0.15892,
    "h": 13.2
  },
  "luminance": 0.08604
}

Semantic roles & 50–950 ramp

primary
#9D213E
secondary
#59C1A9
accent
#E8C140
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9D213E

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

Preview Lab → · Contrast checker → · Palette generator →

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