#9D2231#9D2231

#9D2231 is a mid, vivid red. Relative luminance 0.085; OKLCH L 46.0% C 0.158 H 19.9°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#9D2231
RGBrgb(157, 34, 49)
HSLhsl(353, 64%, 37%)
HSVhsv(353, 78%, 62%)
CMYKcmyk(0%, 78.3%, 68.8%, 38.4%)
CIE-LABlab(35.08, 50.24, 22.93)
CIE-LCHlch(35.08, 55.23, 24.53°)
OKLaboklab(45.99% 0.1484 0.0538)
OKLCHoklch(45.99% 0.158 19.9)
XYZxyz(15.0327, 8.5362, 3.7612)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2231 #229D8E
analogous
#9D226E #9D2231 #9D5122
triadic
#9D2231 #319D22 #22319D
tetradic
#9D2231 #6E9D22 #229D8E #51229D
square
#9D2231 #6E9D22 #229D8E #51229D
split-complementary
#9D2231 #229D51 #226E9D
monochromatic
#380C12 #6B1721 #9D2231 #CF2D41 #DC5D6D

Accessibility & contrast

On white

7.76
#9D2231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2231
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2231#FFFFFF#000000##FFFFFF
##9D22311.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464231
Deuteranopia (green-blind)
#655C2D
Tritanopia (blue-blind)
#AD0029
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d2231;
/* rgb */ color: rgb(157, 34, 49);
/* oklch */ color: oklch(46.0% 0.158 19.9);
Tailwind
colors: {
  custom: {
    50: '#c26969',
    500: '#9d2231',
    950: '#000000',
  },
}
SCSS
$custom: #9d2231;
$custom-light: #c26969;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2231",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 49
  },
  "hsl": {
    "h": 352.683,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45988,
    "c": 0.15788,
    "h": 19.9
  },
  "luminance": 0.08534
}

Semantic roles & 50–950 ramp

primary
#9D2231
secondary
#5AC1B4
accent
#E7D340
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9D2231

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

Preview Lab → · Contrast checker → · Palette generator →

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