#9C2228#9C2228

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

Color values

HEX#9C2228
RGBrgb(156, 34, 40)
HSLhsl(357, 64%, 37%)
HSVhsv(357, 78%, 61%)
CMYKcmyk(0%, 78.2%, 74.4%, 38.8%)
CIE-LABlab(34.74, 49.49, 28.10)
CIE-LCHlch(34.74, 56.91, 29.58°)
OKLaboklab(45.66% 0.1441 0.0636)
OKLCHoklch(45.66% 0.158 23.8)
XYZxyz(14.6670, 8.3675, 2.8499)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2228 #229C96
analogous
#9C2265 #9C2228 #9C5922
triadic
#9C2228 #289C22 #22289C
tetradic
#9C2228 #659C22 #229C96 #59229C
square
#9C2228 #659C22 #229C96 #59229C
split-complementary
#9C2228 #229C59 #22659C
monochromatic
#380C0E #6A171B #9C2228 #CE2D35 #DC5D63

Accessibility & contrast

On white

7.86
#9C2228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9C2228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2228
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2228#FFFFFF#000000##FFFFFF
##9C22281.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474127
Deuteranopia (green-blind)
#655B24
Tritanopia (blue-blind)
#AC0026
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9c2228;
/* rgb */ color: rgb(156, 34, 40);
/* oklch */ color: oklch(45.7% 0.158 23.8);
Tailwind
colors: {
  custom: {
    50: '#c16962',
    500: '#9c2228',
    950: '#000000',
  },
}
SCSS
$custom: #9c2228;
$custom-light: #c16962;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2228",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 357.049,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45656,
    "c": 0.15756,
    "h": 23.8
  },
  "luminance": 0.08365
}

Semantic roles & 50–950 ramp

primary
#9C2228
secondary
#5AC0BB
accent
#E7DF41
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79

Preview Lab

Preview with #9C2228

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

Preview Lab → · Contrast checker → · Palette generator →

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