#9F2818#9F2818

#9F2818 is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.6% C 0.158 H 31.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9F2818
RGBrgb(159, 40, 24)
HSLhsl(7, 74%, 36%)
HSVhsv(7, 85%, 62%)
CMYKcmyk(0%, 74.8%, 84.9%, 37.6%)
CIE-LABlab(35.90, 47.83, 38.62)
CIE-LCHlch(35.90, 61.47, 38.92°)
OKLaboklab(46.58% 0.1352 0.0814)
OKLCHoklch(46.58% 0.158 31.1)
XYZxyz(15.2236, 8.9569, 1.7912)
Luminance0.0895 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2818 #188F9F
analogous
#9F184B #9F2818 #9F6B18
triadic
#9F2818 #189F28 #28189F
tetradic
#9F2818 #4B9F18 #188F9F #6B189F
square
#9F2818 #4B9F18 #188F9F #6B189F
split-complementary
#9F2818 #189F6B #184B9F
monochromatic
#350D08 #6A1B10 #9F2818 #D43520 #E45F4D

Accessibility & contrast

On white

7.52
#9F2818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9F2818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2818
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2818#FFFFFF#000000##FFFFFF
##9F28181.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2818;
/* rgb */ color: rgb(159, 40, 24);
/* oklch */ color: oklch(46.6% 0.158 31.1);
Tailwind
colors: {
  custom: {
    50: '#c56b57',
    500: '#9f2818',
    950: '#000000',
  },
}
SCSS
$custom: #9f2818;
$custom-light: #c56b57;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2818",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 24
  },
  "hsl": {
    "h": 7.111,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46576,
    "c": 0.15779,
    "h": 31.1
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

primary
#9F2818
secondary
#4DB8C6
accent
#DAF037
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F2818

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

Preview Lab → · Contrast checker → · Palette generator →

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