#9D2228#9D2228

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

Color values

HEX#9D2228
RGBrgb(157, 34, 40)
HSLhsl(357, 64%, 37%)
HSVhsv(357, 78%, 62%)
CMYKcmyk(0%, 78.3%, 74.5%, 38.4%)
CIE-LABlab(34.94, 49.80, 28.38)
CIE-LCHlch(34.94, 57.32, 29.68°)
OKLaboklab(45.84% 0.145 0.0642)
OKLCHoklch(45.84% 0.159 23.9)
XYZxyz(14.8614, 8.4677, 2.8590)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2228 #229D97
analogous
#9D2266 #9D2228 #9D5922
triadic
#9D2228 #289D22 #22289D
tetradic
#9D2228 #669D22 #229D97 #59229D
square
#9D2228 #669D22 #229D97 #59229D
split-complementary
#9D2228 #229D59 #22669D
monochromatic
#380C0E #6B171B #9D2228 #CF2D35 #DC5D64

Accessibility & contrast

On white

7.80
#9D2228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9D2228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2228
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2228#FFFFFF#000000##FFFFFF
##9D22281.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2228;
/* rgb */ color: rgb(157, 34, 40);
/* oklch */ color: oklch(45.8% 0.159 23.9);
Tailwind
colors: {
  custom: {
    50: '#c26962',
    500: '#9d2228',
    950: '#000000',
  },
}
SCSS
$custom: #9d2228;
$custom-light: #c26962;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2228",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 357.073,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45842,
    "c": 0.15857,
    "h": 23.9
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#9D2228
secondary
#5AC1BC
accent
#E7DF40
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9D2228

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

Preview Lab → · Contrast checker → · Palette generator →

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