#9D1E27#9D1E27

#9D1E27 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.5% C 0.162 H 23.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#9D1E27
RGBrgb(157, 30, 39)
HSLhsl(356, 68%, 37%)
HSVhsv(356, 81%, 62%)
CMYKcmyk(0%, 80.9%, 75.2%, 38.4%)
CIE-LABlab(34.49, 50.99, 28.48)
CIE-LCHlch(34.49, 58.40, 29.19°)
OKLaboklab(45.5% 0.1485 0.0642)
OKLCHoklch(45.5% 0.162 23.4)
XYZxyz(14.7369, 8.2455, 2.7346)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E27 #1E9D94
analogous
#9D1E67 #9D1E27 #9D551E
triadic
#9D1E27 #279D1E #1E279D
tetradic
#9D1E27 #679D1E #1E9D94 #551E9D
square
#9D1E27 #679D1E #1E9D94 #551E9D
split-complementary
#9D1E27 #1E9D55 #1E679D
monochromatic
#360A0D #6A141A #9D1E27 #D02834 #DF5760

Accessibility & contrast

On white

7.93
#9D1E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9D1E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E27
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E27#FFFFFF#000000##FFFFFF
##9D1E271.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464026
Deuteranopia (green-blind)
#655B22
Tritanopia (blue-blind)
#AD0023
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1e27;
/* rgb */ color: rgb(157, 30, 39);
/* oklch */ color: oklch(45.5% 0.162 23.4);
Tailwind
colors: {
  custom: {
    50: '#c26761',
    500: '#9d1e27',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e27;
$custom-light: #c26761;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e27",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 39
  },
  "hsl": {
    "h": 355.748,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45504,
    "c": 0.1618,
    "h": 23.4
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#9D1E27
secondary
#54C2BB
accent
#EBDE3D
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #9D1E27

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

Preview Lab → · Contrast checker → · Palette generator →

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