#9D1F37#9D1F37

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

Color values

HEX#9D1F37
RGBrgb(157, 31, 55)
HSLhsl(349, 67%, 37%)
HSVhsv(349, 80%, 62%)
CMYKcmyk(0%, 80.3%, 65%, 38.4%)
CIE-LABlab(34.86, 51.51, 18.81)
CIE-LCHlch(34.86, 54.84, 20.06°)
OKLaboklab(45.86% 0.1538 0.0452)
OKLCHoklch(45.86% 0.16 16.4)
XYZxyz(15.0858, 8.4262, 4.4458)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F37 #1F9D85
analogous
#9D1F76 #9D1F37 #9D461F
triadic
#9D1F37 #379D1F #1F379D
tetradic
#9D1F37 #769D1F #1F9D85 #461F9D
square
#9D1F37 #769D1F #1F9D85 #461F9D
split-complementary
#9D1F37 #1F9D46 #1F769D
monochromatic
#370B13 #6A1525 #9D1F37 #D02949 #DE5872

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D1F37#FFFFFF#000000##FFFFFF
##9D1F371.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)
#444137
Deuteranopia (green-blind)
#645B33
Tritanopia (blue-blind)
#AD002A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1f37;
/* rgb */ color: rgb(157, 31, 55);
/* oklch */ color: oklch(45.9% 0.160 16.4);
Tailwind
colors: {
  custom: {
    50: '#c1686d',
    500: '#9d1f37',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f37;
$custom-light: #c1686d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f37",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 55
  },
  "hsl": {
    "h": 348.571,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45859,
    "c": 0.16032,
    "h": 16.4
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

primary
#9D1F37
secondary
#56C2AD
accent
#EAC93E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D1F37

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

Preview Lab → · Contrast checker → · Palette generator →

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