#9D2239#9D2239

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

Color values

HEX#9D2239
RGBrgb(157, 34, 57)
HSLhsl(349, 64%, 37%)
HSVhsv(349, 78%, 62%)
CMYKcmyk(0%, 78.3%, 63.7%, 38.4%)
CIE-LABlab(35.22, 50.71, 18.00)
CIE-LCHlch(35.22, 53.81, 19.55°)
OKLaboklab(46.14% 0.1517 0.0436)
OKLCHoklch(46.14% 0.158 16)
XYZxyz(15.2168, 8.6098, 4.7307)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2239 #229D86
analogous
#9D2277 #9D2239 #9D4822
triadic
#9D2239 #399D22 #22399D
tetradic
#9D2239 #779D22 #229D86 #48229D
square
#9D2239 #779D22 #229D86 #48229D
split-complementary
#9D2239 #229D48 #22779D
monochromatic
#380C14 #6B1727 #9D2239 #CF2D4B #DC5D75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D2239#FFFFFF#000000##FFFFFF
##9D22391.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)
#454239
Deuteranopia (green-blind)
#645C36
Tritanopia (blue-blind)
#AC002C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d2239;
/* rgb */ color: rgb(157, 34, 57);
/* oklch */ color: oklch(46.1% 0.158 16.0);
Tailwind
colors: {
  custom: {
    50: '#c1696f',
    500: '#9d2239',
    950: '#000000',
  },
}
SCSS
$custom: #9d2239;
$custom-light: #c1696f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2239",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 57
  },
  "hsl": {
    "h": 348.78,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46143,
    "c": 0.15778,
    "h": 16
  },
  "luminance": 0.08608
}

Semantic roles & 50–950 ramp

primary
#9D2239
secondary
#5AC1AD
accent
#E7C840
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D2239

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

Preview Lab → · Contrast checker → · Palette generator →

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