#9D2327#9D2327

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

Color values

HEX#9D2327
RGBrgb(157, 35, 39)
HSLhsl(358, 64%, 38%)
HSVhsv(358, 78%, 62%)
CMYKcmyk(0%, 77.7%, 75.2%, 38.4%)
CIE-LABlab(35.04, 49.44, 29.11)
CIE-LCHlch(35.04, 57.37, 30.49°)
OKLaboklab(45.91% 0.1436 0.0656)
OKLCHoklch(45.91% 0.158 24.5)
XYZxyz(14.8736, 8.5190, 2.7802)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2327 #239D99
analogous
#9D2364 #9D2327 #9D5C23
triadic
#9D2327 #279D23 #23279D
tetradic
#9D2327 #649D23 #239D99 #5C239D
square
#9D2327 #649D23 #239D99 #5C239D
split-complementary
#9D2327 #239D5C #23649D
monochromatic
#390D0E #6B181B #9D2327 #CF2E33 #DB5F63

Accessibility & contrast

On white

7.77
#9D2327 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9D2327 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2327
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2327#FFFFFF#000000##FFFFFF
##9D23271.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484226
Deuteranopia (green-blind)
#665C22
Tritanopia (blue-blind)
#AD0026
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d2327;
/* rgb */ color: rgb(157, 35, 39);
/* oklch */ color: oklch(45.9% 0.158 24.5);
Tailwind
colors: {
  custom: {
    50: '#c26961',
    500: '#9d2327',
    950: '#000000',
  },
}
SCSS
$custom: #9d2327;
$custom-light: #c26961;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2327",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 39
  },
  "hsl": {
    "h": 358.033,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45914,
    "c": 0.15785,
    "h": 24.5
  },
  "luminance": 0.08517
}

Semantic roles & 50–950 ramp

primary
#9D2327
secondary
#5CC0BD
accent
#E7E141
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #9D2327

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

Preview Lab → · Contrast checker → · Palette generator →

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