#9F2F17#9F2F17

#9F2F17 is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.3% C 0.152 H 33.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9F2F17
RGBrgb(159, 47, 23)
HSLhsl(11, 75%, 36%)
HSVhsv(11, 86%, 62%)
CMYKcmyk(0%, 70.4%, 85.5%, 37.6%)
CIE-LABlab(36.87, 45.11, 39.99)
CIE-LCHlch(36.87, 60.28, 41.55°)
OKLaboklab(47.3% 0.1266 0.0841)
OKLCHoklch(47.3% 0.152 33.6)
XYZxyz(15.4711, 9.4682, 1.8234)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F17 #17879F
analogous
#9F1743 #9F2F17 #9F7317
triadic
#9F2F17 #179F2F #2F179F
tetradic
#9F2F17 #439F17 #17879F #73179F
square
#9F2F17 #439F17 #17879F #73179F
split-complementary
#9F2F17 #179F73 #17439F
monochromatic
#340F08 #6A1F0F #9F2F17 #D43F1F #E5664B

Accessibility & contrast

On white

7.26
#9F2F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9F2F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2F17
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F17#FFFFFF#000000##FFFFFF
##9F2F171.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504713
Deuteranopia (green-blind)
#6C6011
Tritanopia (blue-blind)
#B0022B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f2f17;
/* rgb */ color: rgb(159, 47, 23);
/* oklch */ color: oklch(47.3% 0.152 33.6);
Tailwind
colors: {
  custom: {
    50: '#c46f57',
    500: '#9f2f17',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f17;
$custom-light: #c46f57;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f17",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 23
  },
  "hsl": {
    "h": 10.588,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47299,
    "c": 0.15195,
    "h": 33.6
  },
  "luminance": 0.09466
}

Semantic roles & 50–950 ramp

primary
#9F2F17
secondary
#4BB1C7
accent
#D0F136
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140803
muted
#837B78

Preview Lab

Preview with #9F2F17

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

Preview Lab → · Contrast checker → · Palette generator →

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