#9D1B36#9D1B36

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

Color values

HEX#9D1B36
RGBrgb(157, 27, 54)
HSLhsl(348, 71%, 36%)
HSVhsv(348, 83%, 62%)
CMYKcmyk(0%, 82.8%, 65.6%, 38.4%)
CIE-LABlab(34.44, 52.58, 18.92)
CIE-LCHlch(34.44, 55.88, 19.79°)
OKLaboklab(45.55% 0.157 0.0454)
OKLCHoklch(45.55% 0.163 16.1)
XYZxyz(14.9641, 8.2206, 4.2881)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1B36 #1B9D82
analogous
#9D1B77 #9D1B36 #9D411B
triadic
#9D1B36 #369D1B #1B369D
tetradic
#9D1B36 #779D1B #1B9D82 #411B9D
square
#9D1B36 #779D1B #1B9D82 #411B9D
split-complementary
#9D1B36 #1B9D41 #1B779D
monochromatic
#350912 #691224 #9D1B36 #D12448 #E1516F

Accessibility & contrast

On white

7.94
#9D1B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9D1B36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1B36
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1B36#FFFFFF#000000##FFFFFF
##9D1B361.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434036
Deuteranopia (green-blind)
#635B32
Tritanopia (blue-blind)
#AD0027
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1b36;
/* rgb */ color: rgb(157, 27, 54);
/* oklch */ color: oklch(45.5% 0.163 16.1);
Tailwind
colors: {
  custom: {
    50: '#c1666c',
    500: '#9d1b36',
    950: '#000000',
  },
}
SCSS
$custom: #9d1b36;
$custom-light: #c1666c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1b36",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 54
  },
  "hsl": {
    "h": 347.538,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45545,
    "c": 0.16346,
    "h": 16.1
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#9D1B36
secondary
#50C4AC
accent
#EDC83A
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D1B36

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

Preview Lab → · Contrast checker → · Palette generator →

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