#9D2227#9D2227

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

Color values

HEX#9D2227
RGBrgb(157, 34, 39)
HSLhsl(358, 64%, 37%)
HSVhsv(358, 78%, 62%)
CMYKcmyk(0%, 78.3%, 75.2%, 38.4%)
CIE-LABlab(34.93, 49.76, 28.98)
CIE-LCHlch(34.93, 57.58, 30.21°)
OKLaboklab(45.83% 0.1446 0.0653)
OKLCHoklch(45.83% 0.159 24.3)
XYZxyz(14.8446, 8.4610, 2.7706)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2227 #229D98
analogous
#9D2265 #9D2227 #9D5B22
triadic
#9D2227 #279D22 #22279D
tetradic
#9D2227 #659D22 #229D98 #5B229D
square
#9D2227 #659D22 #229D98 #5B229D
split-complementary
#9D2227 #229D5B #22659D
monochromatic
#380C0E #6B171B #9D2227 #CF2D33 #DC5D63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D2227#FFFFFF#000000##FFFFFF
##9D22271.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)
#484126
Deuteranopia (green-blind)
#665C22
Tritanopia (blue-blind)
#AD0025
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d2227;
/* rgb */ color: rgb(157, 34, 39);
/* oklch */ color: oklch(45.8% 0.159 24.3);
Tailwind
colors: {
  custom: {
    50: '#c26961',
    500: '#9d2227',
    950: '#000000',
  },
}
SCSS
$custom: #9d2227;
$custom-light: #c26961;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2227",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 357.561,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45828,
    "c": 0.15867,
    "h": 24.3
  },
  "luminance": 0.08459
}

Semantic roles & 50–950 ramp

primary
#9D2227
secondary
#5AC1BC
accent
#E7E140
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #9D2227

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

Preview Lab → · Contrast checker → · Palette generator →

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