#9F1F18#9F1F18

#9F1F18 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.8% C 0.165 H 28.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9F1F18
RGBrgb(159, 31, 24)
HSLhsl(3, 74%, 36%)
HSVhsv(3, 85%, 62%)
CMYKcmyk(0%, 80.5%, 84.9%, 37.6%)
CIE-LABlab(34.84, 50.79, 37.65)
CIE-LCHlch(34.84, 63.22, 36.55°)
OKLaboklab(45.79% 0.1444 0.0792)
OKLCHoklch(45.79% 0.165 28.7)
XYZxyz(14.9548, 8.4193, 1.7016)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F18 #18989F
analogous
#9F1854 #9F1F18 #9F6218
triadic
#9F1F18 #189F1F #1F189F
tetradic
#9F1F18 #549F18 #18989F #62189F
square
#9F1F18 #549F18 #18989F #62189F
split-complementary
#9F1F18 #189F62 #18549F
monochromatic
#350A08 #6A1510 #9F1F18 #D42920 #E4554D

Accessibility & contrast

On white

7.83
#9F1F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9F1F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F18
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F18#FFFFFF#000000##FFFFFF
##9F1F181.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484015
Deuteranopia (green-blind)
#685C10
Tritanopia (blue-blind)
#B0001F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1f18;
/* rgb */ color: rgb(159, 31, 24);
/* oklch */ color: oklch(45.8% 0.165 28.7);
Tailwind
colors: {
  custom: {
    50: '#c56757',
    500: '#9f1f18',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f18;
$custom-light: #c56757;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f18",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 24
  },
  "hsl": {
    "h": 3.111,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45787,
    "c": 0.16472,
    "h": 28.7
  },
  "luminance": 0.08417
}

Semantic roles & 50–950 ramp

primary
#9F1F18
secondary
#4DC0C6
accent
#E7F037
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F1F18

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

Preview Lab → · Contrast checker → · Palette generator →

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