#9F2228#9F2228

#9F2228 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.2% C 0.161 H 24.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9F2228
RGBrgb(159, 34, 40)
HSLhsl(357, 65%, 38%)
HSVhsv(357, 79%, 62%)
CMYKcmyk(0%, 78.6%, 74.8%, 37.6%)
CIE-LABlab(35.34, 50.42, 28.95)
CIE-LCHlch(35.34, 58.14, 29.86°)
OKLaboklab(46.21% 0.1467 0.0653)
OKLCHoklch(46.21% 0.161 24)
XYZxyz(15.2549, 8.6706, 2.8774)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2228 #229F99
analogous
#9F2266 #9F2228 #9F5A22
triadic
#9F2228 #289F22 #22289F
tetradic
#9F2228 #669F22 #229F99 #5A229F
square
#9F2228 #669F22 #229F99 #5A229F
split-complementary
#9F2228 #229F5A #22669F
monochromatic
#3A0C0F #6D171B #9F2228 #D12D35 #DD5F65

Accessibility & contrast

On white

7.68
#9F2228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9F2228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2228
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2228#FFFFFF#000000##FFFFFF
##9F22281.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484227
Deuteranopia (green-blind)
#675D23
Tritanopia (blue-blind)
#AF0026
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f2228;
/* rgb */ color: rgb(159, 34, 40);
/* oklch */ color: oklch(46.2% 0.161 24.0);
Tailwind
colors: {
  custom: {
    50: '#c46962',
    500: '#9f2228',
    950: '#000000',
  },
}
SCSS
$custom: #9f2228;
$custom-light: #c46962;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2228",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 357.12,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46214,
    "c": 0.16057,
    "h": 24
  },
  "luminance": 0.08668
}

Semantic roles & 50–950 ramp

primary
#9F2228
secondary
#5BC1BD
accent
#E8E040
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9F2228

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

Preview Lab → · Contrast checker → · Palette generator →

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