#9D1E2A#9D1E2A

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

Color values

HEX#9D1E2A
RGBrgb(157, 30, 42)
HSLhsl(354, 68%, 37%)
HSVhsv(354, 81%, 62%)
CMYKcmyk(0%, 80.9%, 73.2%, 38.4%)
CIE-LABlab(34.53, 51.12, 26.67)
CIE-LCHlch(34.53, 57.66, 27.55°)
OKLaboklab(45.55% 0.1496 0.0609)
OKLCHoklch(45.55% 0.162 22.1)
XYZxyz(14.7885, 8.2662, 3.0069)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E2A #1E9D91
analogous
#9D1E6A #9D1E2A #9D521E
triadic
#9D1E2A #2A9D1E #1E2A9D
tetradic
#9D1E2A #6A9D1E #1E9D91 #521E9D
square
#9D1E2A #6A9D1E #1E9D91 #521E9D
split-complementary
#9D1E2A #1E9D52 #1E6A9D
monochromatic
#360A0F #6A141C #9D1E2A #D02838 #DF5763

Accessibility & contrast

On white

7.92
#9D1E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1E2A
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E2A#FFFFFF#000000##FFFFFF
##9D1E2A1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454029
Deuteranopia (green-blind)
#655B26
Tritanopia (blue-blind)
#AD0024
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1e2a;
/* rgb */ color: rgb(157, 30, 42);
/* oklch */ color: oklch(45.5% 0.162 22.1);
Tailwind
colors: {
  custom: {
    50: '#c26763',
    500: '#9d1e2a',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e2a;
$custom-light: #c26763;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e2a",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 42
  },
  "hsl": {
    "h": 354.331,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45549,
    "c": 0.16154,
    "h": 22.1
  },
  "luminance": 0.08264
}

Semantic roles & 50–950 ramp

primary
#9D1E2A
secondary
#54C2B8
accent
#EBDA3D
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9D1E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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