#9D213F#9D213F

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

Color values

HEX#9D213F
RGBrgb(157, 33, 63)
HSLhsl(345, 65%, 37%)
HSVhsv(345, 79%, 62%)
CMYKcmyk(0%, 79%, 59.9%, 38.4%)
CIE-LABlab(35.24, 51.42, 14.15)
CIE-LCHlch(35.24, 53.34, 15.39°)
OKLaboklab(46.2% 0.1551 0.035)
OKLCHoklch(46.2% 0.159 12.7)
XYZxyz(15.3472, 8.6170, 5.5568)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D213F #219D7F
analogous
#9D217D #9D213F #9D4121
triadic
#9D213F #3F9D21 #213F9D
tetradic
#9D213F #7D9D21 #219D7F #41219D
square
#9D213F #7D9D21 #219D7F #41219D
split-complementary
#9D213F #219D41 #217D9D
monochromatic
#380C16 #6A162B #9D213F #D02C53 #DD5C7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D213F#FFFFFF#000000##FFFFFF
##9D213F1.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)
#44433F
Deuteranopia (green-blind)
#635C3C
Tritanopia (blue-blind)
#AC002E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d213f;
/* rgb */ color: rgb(157, 33, 63);
/* oklch */ color: oklch(46.2% 0.159 12.7);
Tailwind
colors: {
  custom: {
    50: '#c16973',
    500: '#9d213f',
    950: '#000000',
  },
}
SCSS
$custom: #9d213f;
$custom-light: #c16973;
$custom-dark: #000000;
JSON
{
  "hex": "#9d213f",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 63
  },
  "hsl": {
    "h": 345.484,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46195,
    "c": 0.159,
    "h": 12.7
  },
  "luminance": 0.08615
}

Semantic roles & 50–950 ramp

primary
#9D213F
secondary
#59C1A8
accent
#E8BF40
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9D213F

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

Preview Lab → · Contrast checker → · Palette generator →

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