#9B2227#9B2227

#9B2227 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.5% C 0.157 H 24.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#9B2227
RGBrgb(155, 34, 39)
HSLhsl(358, 64%, 37%)
HSVhsv(358, 78%, 61%)
CMYKcmyk(0%, 78.1%, 74.8%, 39.2%)
CIE-LABlab(34.52, 49.14, 28.41)
CIE-LCHlch(34.52, 56.76, 30.03°)
OKLaboklab(45.46% 0.1429 0.0642)
OKLCHoklch(45.46% 0.157 24.2)
XYZxyz(14.4575, 8.2614, 2.7524)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2227 #229B96
analogous
#9B2263 #9B2227 #9B5A22
triadic
#9B2227 #279B22 #22279B
tetradic
#9B2227 #639B22 #229B96 #5A229B
square
#9B2227 #639B22 #229B96 #5A229B
split-complementary
#9B2227 #229B5A #22639B
monochromatic
#370C0E #69171A #9B2227 #CD2D34 #DB5C61

Accessibility & contrast

On white

7.92
#9B2227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9B2227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2227
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2227#FFFFFF#000000##FFFFFF
##9B22271.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474126
Deuteranopia (green-blind)
#655B23
Tritanopia (blue-blind)
#AB0025
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b2227;
/* rgb */ color: rgb(155, 34, 39);
/* oklch */ color: oklch(45.5% 0.157 24.2);
Tailwind
colors: {
  custom: {
    50: '#c16861',
    500: '#9b2227',
    950: '#000000',
  },
}
SCSS
$custom: #9b2227;
$custom-light: #c16861;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2227",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 357.521,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45456,
    "c": 0.15665,
    "h": 24.2
  },
  "luminance": 0.08259
}

Semantic roles & 50–950 ramp

primary
#9B2227
secondary
#59C0BC
accent
#E7E041
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140705
muted
#827A79

Preview Lab

Preview with #9B2227

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

Preview Lab → · Contrast checker → · Palette generator →

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