#9F2222#9F2222

#9F2222 is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.1% C 0.161 H 26.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#9F2222
RGBrgb(159, 34, 34)
HSLhsl(0, 65%, 38%)
HSVhsv(0, 79%, 62%)
CMYKcmyk(0%, 78.6%, 78.6%, 37.6%)
CIE-LABlab(35.27, 50.18, 32.46)
CIE-LCHlch(35.27, 59.77, 32.90°)
OKLaboklab(46.14% 0.1446 0.0714)
OKLCHoklch(46.14% 0.161 26.3)
XYZxyz(15.1607, 8.6329, 2.3811)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2222 #229F9F
analogous
#9F2260 #9F2222 #9F6022
triadic
#9F2222 #229F22 #22229F
tetradic
#9F2222 #609F22 #229F9F #60229F
square
#9F2222 #609F22 #229F9F #60229F
split-complementary
#9F2222 #229F60 #22609F
monochromatic
#3A0C0C #6D1717 #9F2222 #D12D2D #DD5F5F

Accessibility & contrast

On white

7.70
#9F2222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2222
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2222#FFFFFF#000000##FFFFFF
##9F22221.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494220
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#AF0024
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f2222;
/* rgb */ color: rgb(159, 34, 34);
/* oklch */ color: oklch(46.1% 0.161 26.3);
Tailwind
colors: {
  custom: {
    50: '#c4695d',
    500: '#9f2222',
    950: '#000000',
  },
}
SCSS
$custom: #9f2222;
$custom-light: #c4695d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2222",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46135,
    "c": 0.16124,
    "h": 26.3
  },
  "luminance": 0.0863
}

Semantic roles & 50–950 ramp

primary
#9F2222
secondary
#5BC1C1
accent
#E8E840
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9F2222

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

Preview Lab → · Contrast checker → · Palette generator →

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