#9C2227#9C2227

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

Color values

HEX#9C2227
RGBrgb(156, 34, 39)
HSLhsl(358, 64%, 37%)
HSVhsv(358, 78%, 61%)
CMYKcmyk(0%, 78.2%, 75%, 38.8%)
CIE-LABlab(34.72, 49.45, 28.69)
CIE-LCHlch(34.72, 57.17, 30.12°)
OKLaboklab(45.64% 0.1438 0.0647)
OKLCHoklch(45.64% 0.158 24.2)
XYZxyz(14.6502, 8.3608, 2.7615)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2227 #229C97
analogous
#9C2264 #9C2227 #9C5A22
triadic
#9C2227 #279C22 #22279C
tetradic
#9C2227 #649C22 #229C97 #5A229C
square
#9C2227 #649C22 #229C97 #5A229C
split-complementary
#9C2227 #229C5A #22649C
monochromatic
#380C0E #6A171A #9C2227 #CE2D34 #DC5D62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C2227#FFFFFF#000000##FFFFFF
##9C22271.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)
#474126
Deuteranopia (green-blind)
#655B23
Tritanopia (blue-blind)
#AC0025
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9c2227;
/* rgb */ color: rgb(156, 34, 39);
/* oklch */ color: oklch(45.6% 0.158 24.2);
Tailwind
colors: {
  custom: {
    50: '#c16861',
    500: '#9c2227',
    950: '#000000',
  },
}
SCSS
$custom: #9c2227;
$custom-light: #c16861;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2227",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 357.541,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45642,
    "c": 0.15767,
    "h": 24.2
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#9C2227
secondary
#5AC0BC
accent
#E7E041
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #9C2227

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

Preview Lab → · Contrast checker → · Palette generator →

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