#9D2031#9D2031

#9D2031 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.8% C 0.160 H 19.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#9D2031
RGBrgb(157, 32, 49)
HSLhsl(352, 66%, 37%)
HSVhsv(352, 80%, 62%)
CMYKcmyk(0%, 79.6%, 68.8%, 38.4%)
CIE-LABlab(34.85, 50.87, 22.65)
CIE-LCHlch(34.85, 55.68, 24.00°)
OKLaboklab(45.82% 0.1504 0.0532)
OKLCHoklch(45.82% 0.16 19.5)
XYZxyz(14.9772, 8.4252, 3.7427)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2031 #209D8C
analogous
#9D2070 #9D2031 #9D4E20
triadic
#9D2031 #319D20 #20319D
tetradic
#9D2031 #709D20 #209D8C #4E209D
square
#9D2031 #709D20 #209D8C #4E209D
split-complementary
#9D2031 #209D4E #20709D
monochromatic
#370B11 #6A1621 #9D2031 #D02A41 #DD5A6C

Accessibility & contrast

On white

7.82
#9D2031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9D2031 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2031
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2031#FFFFFF#000000##FFFFFF
##9D20311.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454131
Deuteranopia (green-blind)
#655B2D
Tritanopia (blue-blind)
#AD0028
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d2031;
/* rgb */ color: rgb(157, 32, 49);
/* oklch */ color: oklch(45.8% 0.160 19.5);
Tailwind
colors: {
  custom: {
    50: '#c26869',
    500: '#9d2031',
    950: '#000000',
  },
}
SCSS
$custom: #9d2031;
$custom-light: #c26869;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2031",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 49
  },
  "hsl": {
    "h": 351.84,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45823,
    "c": 0.15957,
    "h": 19.5
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#9D2031
secondary
#57C1B3
accent
#E9D23F
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9D2031

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

Preview Lab → · Contrast checker → · Palette generator →

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