#9F2229#9F2229

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

Color values

HEX#9F2229
RGBrgb(159, 34, 41)
HSLhsl(357, 65%, 38%)
HSVhsv(357, 79%, 62%)
CMYKcmyk(0%, 78.6%, 74.2%, 37.6%)
CIE-LABlab(35.36, 50.46, 28.35)
CIE-LCHlch(35.36, 57.88, 29.33°)
OKLaboklab(46.23% 0.147 0.0642)
OKLCHoklch(46.23% 0.16 23.6)
XYZxyz(15.2721, 8.6775, 2.9682)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2229 #229F98
analogous
#9F2267 #9F2229 #9F5922
triadic
#9F2229 #299F22 #22299F
tetradic
#9F2229 #679F22 #229F98 #59229F
square
#9F2229 #679F22 #229F98 #59229F
split-complementary
#9F2229 #229F59 #22679F
monochromatic
#3A0C0F #6D171C #9F2229 #D12D36 #DD5F66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2229#FFFFFF#000000##FFFFFF
##9F22291.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)
#484228
Deuteranopia (green-blind)
#675D25
Tritanopia (blue-blind)
#AF0026
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f2229;
/* rgb */ color: rgb(159, 34, 41);
/* oklch */ color: oklch(46.2% 0.160 23.6);
Tailwind
colors: {
  custom: {
    50: '#c46963',
    500: '#9f2229',
    950: '#000000',
  },
}
SCSS
$custom: #9f2229;
$custom-light: #c46963;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2229",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 41
  },
  "hsl": {
    "h": 356.64,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46228,
    "c": 0.16046,
    "h": 23.6
  },
  "luminance": 0.08675
}

Semantic roles & 50–950 ramp

primary
#9F2229
secondary
#5BC1BC
accent
#E8DE40
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9F2229

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

Preview Lab → · Contrast checker → · Palette generator →

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