#9D1F3A#9D1F3A

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

Color values

HEX#9D1F3A
RGBrgb(157, 31, 58)
HSLhsl(347, 67%, 37%)
HSVhsv(347, 80%, 62%)
CMYKcmyk(0%, 80.3%, 63.1%, 38.4%)
CIE-LABlab(34.91, 51.70, 16.96)
CIE-LCHlch(34.91, 54.41, 18.16°)
OKLaboklab(45.92% 0.155 0.0412)
OKLCHoklch(45.92% 0.16 14.9)
XYZxyz(15.1599, 8.4558, 4.8361)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F3A #1F9D82
analogous
#9D1F79 #9D1F3A #9D431F
triadic
#9D1F3A #3A9D1F #1F3A9D
tetradic
#9D1F3A #799D1F #1F9D82 #431F9D
square
#9D1F3A #799D1F #1F9D82 #431F9D
split-complementary
#9D1F3A #1F9D43 #1F799D
monochromatic
#370B14 #6A1527 #9D1F3A #D0294D #DE5875

Accessibility & contrast

On white

7.80
#9D1F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9D1F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F3A
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F3A#FFFFFF#000000##FFFFFF
##9D1F3A1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44413A
Deuteranopia (green-blind)
#635B37
Tritanopia (blue-blind)
#AC002B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1f3a;
/* rgb */ color: rgb(157, 31, 58);
/* oklch */ color: oklch(45.9% 0.160 14.9);
Tailwind
colors: {
  custom: {
    50: '#c1686f',
    500: '#9d1f3a',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f3a;
$custom-light: #c1686f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f3a",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 58
  },
  "hsl": {
    "h": 347.143,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45923,
    "c": 0.16042,
    "h": 14.9
  },
  "luminance": 0.08454
}

Semantic roles & 50–950 ramp

primary
#9D1F3A
secondary
#56C2AB
accent
#EAC53E
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D1F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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