#9F222B#9F222B

#9F222B is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.3% C 0.160 H 22.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#9F222B
RGBrgb(159, 34, 43)
HSLhsl(356, 65%, 38%)
HSVhsv(356, 79%, 62%)
CMYKcmyk(0%, 78.6%, 73%, 37.6%)
CIE-LABlab(35.38, 50.55, 27.15)
CIE-LCHlch(35.38, 57.39, 28.24°)
OKLaboklab(46.26% 0.1478 0.062)
OKLCHoklch(46.26% 0.16 22.8)
XYZxyz(15.3079, 8.6918, 3.1567)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F222B #229F96
analogous
#9F2269 #9F222B #9F5722
triadic
#9F222B #2B9F22 #222B9F
tetradic
#9F222B #699F22 #229F96 #57229F
square
#9F222B #699F22 #229F96 #57229F
split-complementary
#9F222B #229F57 #22699F
monochromatic
#3A0C10 #6D171D #9F222B #D12D39 #DD5F68

Accessibility & contrast

On white

7.67
#9F222B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9F222B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F222B
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F222B#FFFFFF#000000##FFFFFF
##9F222B1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48422A
Deuteranopia (green-blind)
#675D27
Tritanopia (blue-blind)
#AF0027
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f222b;
/* rgb */ color: rgb(159, 34, 43);
/* oklch */ color: oklch(46.3% 0.160 22.8);
Tailwind
colors: {
  custom: {
    50: '#c46964',
    500: '#9f222b',
    950: '#000000',
  },
}
SCSS
$custom: #9f222b;
$custom-light: #c46964;
$custom-dark: #000000;
JSON
{
  "hex": "#9f222b",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 43
  },
  "hsl": {
    "h": 355.68,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46258,
    "c": 0.16028,
    "h": 22.8
  },
  "luminance": 0.08689
}

Semantic roles & 50–950 ramp

primary
#9F222B
secondary
#5BC1BA
accent
#E8DC40
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140705
muted
#837A7A

Preview Lab

Preview with #9F222B

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

Preview Lab → · Contrast checker → · Palette generator →

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