#9F2218#9F2218

#9F2218 is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.0% C 0.163 H 29.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9F2218
RGBrgb(159, 34, 24)
HSLhsl(4, 74%, 36%)
HSVhsv(4, 85%, 62%)
CMYKcmyk(0%, 78.6%, 84.9%, 37.6%)
CIE-LABlab(35.17, 49.86, 37.95)
CIE-LCHlch(35.17, 62.66, 37.28°)
OKLaboklab(46.03% 0.1415 0.0799)
OKLCHoklch(46.03% 0.163 29.4)
XYZxyz(15.0368, 8.5834, 1.7290)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2218 #18959F
analogous
#9F1852 #9F2218 #9F6518
triadic
#9F2218 #189F22 #22189F
tetradic
#9F2218 #529F18 #18959F #65189F
square
#9F2218 #529F18 #18959F #65189F
split-complementary
#9F2218 #189F65 #18529F
monochromatic
#350B08 #6A1710 #9F2218 #D42D20 #E4584D

Accessibility & contrast

On white

7.73
#9F2218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9F2218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2218
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2218#FFFFFF#000000##FFFFFF
##9F22181.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4115
Deuteranopia (green-blind)
#685D11
Tritanopia (blue-blind)
#B00021
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f2218;
/* rgb */ color: rgb(159, 34, 24);
/* oklch */ color: oklch(46.0% 0.163 29.4);
Tailwind
colors: {
  custom: {
    50: '#c56957',
    500: '#9f2218',
    950: '#000000',
  },
}
SCSS
$custom: #9f2218;
$custom-light: #c56957;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2218",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 24
  },
  "hsl": {
    "h": 4.444,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46031,
    "c": 0.16253,
    "h": 29.4
  },
  "luminance": 0.08581
}

Semantic roles & 50–950 ramp

primary
#9F2218
secondary
#4DBDC6
accent
#E3F037
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F2218

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

Preview Lab → · Contrast checker → · Palette generator →

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