#9D2237#9D2237

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

Color values

HEX#9D2237
RGBrgb(157, 34, 55)
HSLhsl(350, 64%, 37%)
HSVhsv(350, 78%, 62%)
CMYKcmyk(0%, 78.3%, 65%, 38.4%)
CIE-LABlab(35.18, 50.59, 19.24)
CIE-LCHlch(35.18, 54.12, 20.82°)
OKLaboklab(46.1% 0.1508 0.0462)
OKLCHoklch(46.1% 0.158 17)
XYZxyz(15.1679, 8.5903, 4.4731)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2237 #229D88
analogous
#9D2275 #9D2237 #9D4A22
triadic
#9D2237 #379D22 #22379D
tetradic
#9D2237 #759D22 #229D88 #4A229D
square
#9D2237 #759D22 #229D88 #4A229D
split-complementary
#9D2237 #229D4A #22759D
monochromatic
#380C14 #6B1725 #9D2237 #CF2D49 #DC5D73

Accessibility & contrast

On white

7.73
#9D2237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2237
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2237#FFFFFF#000000##FFFFFF
##9D22371.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454237
Deuteranopia (green-blind)
#655C33
Tritanopia (blue-blind)
#AD002B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d2237;
/* rgb */ color: rgb(157, 34, 55);
/* oklch */ color: oklch(46.1% 0.158 17.0);
Tailwind
colors: {
  custom: {
    50: '#c1696d',
    500: '#9d2237',
    950: '#000000',
  },
}
SCSS
$custom: #9d2237;
$custom-light: #c1696d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2237",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 55
  },
  "hsl": {
    "h": 349.756,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46102,
    "c": 0.15776,
    "h": 17
  },
  "luminance": 0.08588
}

Semantic roles & 50–950 ramp

primary
#9D2237
secondary
#5AC1AF
accent
#E7CB40
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D2237

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

Preview Lab → · Contrast checker → · Palette generator →

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