#9D2128#9D2128

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

Color values

HEX#9D2128
RGBrgb(157, 33, 40)
HSLhsl(357, 65%, 37%)
HSVhsv(357, 79%, 62%)
CMYKcmyk(0%, 79%, 74.5%, 38.4%)
CIE-LABlab(34.83, 50.12, 28.25)
CIE-LCHlch(34.83, 57.53, 29.41°)
OKLaboklab(45.76% 0.146 0.0639)
OKLCHoklch(45.76% 0.159 23.6)
XYZxyz(14.8332, 8.4113, 2.8496)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2128 #219D96
analogous
#9D2166 #9D2128 #9D5821
triadic
#9D2128 #289D21 #21289D
tetradic
#9D2128 #669D21 #219D96 #58219D
square
#9D2128 #669D21 #219D96 #58219D
split-complementary
#9D2128 #219D58 #21669D
monochromatic
#380C0E #6A161B #9D2128 #D02C35 #DD5C63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D2128#FFFFFF#000000##FFFFFF
##9D21281.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)
#474127
Deuteranopia (green-blind)
#665B24
Tritanopia (blue-blind)
#AD0025
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d2128;
/* rgb */ color: rgb(157, 33, 40);
/* oklch */ color: oklch(45.8% 0.159 23.6);
Tailwind
colors: {
  custom: {
    50: '#c26862',
    500: '#9d2128',
    950: '#000000',
  },
}
SCSS
$custom: #9d2128;
$custom-light: #c26862;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2128",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 40
  },
  "hsl": {
    "h": 356.613,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45758,
    "c": 0.15938,
    "h": 23.6
  },
  "luminance": 0.08409
}

Semantic roles & 50–950 ramp

primary
#9D2128
secondary
#59C1BB
accent
#E8DF40
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9D2128

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

Preview Lab → · Contrast checker → · Palette generator →

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