#9F2718#9F2718

#9F2718 is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.5% C 0.159 H 30.8°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#9F2718
RGBrgb(159, 39, 24)
HSLhsl(7, 74%, 36%)
HSVhsv(7, 85%, 62%)
CMYKcmyk(0%, 75.5%, 84.9%, 37.6%)
CIE-LABlab(35.77, 48.18, 38.50)
CIE-LCHlch(35.77, 61.68, 38.63°)
OKLaboklab(46.48% 0.1363 0.0811)
OKLCHoklch(46.48% 0.159 30.8)
XYZxyz(15.1903, 8.8903, 1.7802)
Luminance0.0889 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2718 #18909F
analogous
#9F184C #9F2718 #9F6A18
triadic
#9F2718 #189F27 #27189F
tetradic
#9F2718 #4C9F18 #18909F #6A189F
square
#9F2718 #4C9F18 #18909F #6A189F
split-complementary
#9F2718 #189F6A #184C9F
monochromatic
#350D08 #6A1A10 #9F2718 #D43420 #E45E4D

Accessibility & contrast

On white

7.56
#9F2718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9F2718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2718
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2718#FFFFFF#000000##FFFFFF
##9F27181.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4315
Deuteranopia (green-blind)
#6A5E11
Tritanopia (blue-blind)
#B00025
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f2718;
/* rgb */ color: rgb(159, 39, 24);
/* oklch */ color: oklch(46.5% 0.159 30.8);
Tailwind
colors: {
  custom: {
    50: '#c56b57',
    500: '#9f2718',
    950: '#000000',
  },
}
SCSS
$custom: #9f2718;
$custom-light: #c56b57;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2718",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 24
  },
  "hsl": {
    "h": 6.667,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4648,
    "c": 0.1586,
    "h": 30.8
  },
  "luminance": 0.08888
}

Semantic roles & 50–950 ramp

primary
#9F2718
secondary
#4DB9C6
accent
#DCF037
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F2718

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

Preview Lab → · Contrast checker → · Palette generator →

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