#9D2129#9D2129

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

Color values

HEX#9D2129
RGBrgb(157, 33, 41)
HSLhsl(356, 65%, 37%)
HSVhsv(356, 79%, 62%)
CMYKcmyk(0%, 79%, 73.9%, 38.4%)
CIE-LABlab(34.84, 50.17, 27.65)
CIE-LCHlch(34.84, 57.28, 28.86°)
OKLaboklab(45.77% 0.1464 0.0628)
OKLCHoklch(45.77% 0.159 23.2)
XYZxyz(14.8504, 8.4182, 2.9403)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2129 #219D95
analogous
#9D2167 #9D2129 #9D5721
triadic
#9D2129 #299D21 #21299D
tetradic
#9D2129 #679D21 #219D95 #57219D
square
#9D2129 #679D21 #219D95 #57219D
split-complementary
#9D2129 #219D57 #21679D
monochromatic
#380C0F #6A161C #9D2129 #D02C36 #DD5C64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D2129#FFFFFF#000000##FFFFFF
##9D21291.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)
#474128
Deuteranopia (green-blind)
#665B25
Tritanopia (blue-blind)
#AD0025
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d2129;
/* rgb */ color: rgb(157, 33, 41);
/* oklch */ color: oklch(45.8% 0.159 23.2);
Tailwind
colors: {
  custom: {
    50: '#c26863',
    500: '#9d2129',
    950: '#000000',
  },
}
SCSS
$custom: #9d2129;
$custom-light: #c26863;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2129",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 41
  },
  "hsl": {
    "h": 356.129,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45773,
    "c": 0.15929,
    "h": 23.2
  },
  "luminance": 0.08416
}

Semantic roles & 50–950 ramp

primary
#9D2129
secondary
#59C1BA
accent
#E8DD40
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9D2129

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

Preview Lab → · Contrast checker → · Palette generator →

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