#9D2127#9D2127

#9D2127 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.7% C 0.159 H 24.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9D2127
RGBrgb(157, 33, 39)
HSLhsl(357, 65%, 37%)
HSVhsv(357, 79%, 62%)
CMYKcmyk(0%, 79%, 75.2%, 38.4%)
CIE-LABlab(34.81, 50.08, 28.85)
CIE-LCHlch(34.81, 57.79, 29.94°)
OKLaboklab(45.74% 0.1456 0.065)
OKLCHoklch(45.74% 0.159 24)
XYZxyz(14.8164, 8.4046, 2.7612)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2127 #219D97
analogous
#9D2165 #9D2127 #9D5921
triadic
#9D2127 #279D21 #21279D
tetradic
#9D2127 #659D21 #219D97 #59219D
square
#9D2127 #659D21 #219D97 #59219D
split-complementary
#9D2127 #219D59 #21659D
monochromatic
#380C0E #6A161A #9D2127 #D02C34 #DD5C62

Accessibility & contrast

On white

7.83
#9D2127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9D2127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2127
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2127#FFFFFF#000000##FFFFFF
##9D21271.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474126
Deuteranopia (green-blind)
#665B22
Tritanopia (blue-blind)
#AD0025
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d2127;
/* rgb */ color: rgb(157, 33, 39);
/* oklch */ color: oklch(45.7% 0.159 24.0);
Tailwind
colors: {
  custom: {
    50: '#c26861',
    500: '#9d2127',
    950: '#000000',
  },
}
SCSS
$custom: #9d2127;
$custom-light: #c26861;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2127",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 39
  },
  "hsl": {
    "h": 357.097,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45744,
    "c": 0.15947,
    "h": 24
  },
  "luminance": 0.08402
}

Semantic roles & 50–950 ramp

primary
#9D2127
secondary
#59C1BC
accent
#E8E040
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #9D2127

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

Preview Lab → · Contrast checker → · Palette generator →

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