#9F222F#9F222F

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

Color values

HEX#9F222F
RGBrgb(159, 34, 47)
HSLhsl(354, 65%, 38%)
HSVhsv(354, 79%, 62%)
CMYKcmyk(0%, 78.6%, 70.4%, 37.6%)
CIE-LABlab(35.44, 50.75, 24.73)
CIE-LCHlch(35.44, 56.45, 25.98°)
OKLaboklab(46.32% 0.1493 0.0574)
OKLCHoklch(46.32% 0.16 21)
XYZxyz(15.3849, 8.7226, 3.5623)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F222F #229F92
analogous
#9F226D #9F222F #9F5322
triadic
#9F222F #2F9F22 #222F9F
tetradic
#9F222F #6D9F22 #229F92 #53229F
square
#9F222F #6D9F22 #229F92 #53229F
split-complementary
#9F222F #229F53 #226D9F
monochromatic
#3A0C11 #6D1720 #9F222F #D12D3E #DD5F6C

Accessibility & contrast

On white

7.65
#9F222F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F222F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F222F#FFFFFF#000000##FFFFFF
##9F222F1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47422E
Deuteranopia (green-blind)
#675D2B
Tritanopia (blue-blind)
#AF0028
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f222f;
/* rgb */ color: rgb(159, 34, 47);
/* oklch */ color: oklch(46.3% 0.160 21.0);
Tailwind
colors: {
  custom: {
    50: '#c36967',
    500: '#9f222f',
    950: '#000000',
  },
}
SCSS
$custom: #9f222f;
$custom-light: #c36967;
$custom-dark: #000000;
JSON
{
  "hex": "#9f222f",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 47
  },
  "hsl": {
    "h": 353.76,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46323,
    "c": 0.15998,
    "h": 21
  },
  "luminance": 0.0872
}

Semantic roles & 50–950 ramp

primary
#9F222F
secondary
#5BC1B7
accent
#E8D640
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F222F

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

Preview Lab → · Contrast checker → · Palette generator →

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