#9F2D17#9F2D17

#9F2D17 is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.1% C 0.154 H 32.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9F2D17
RGBrgb(159, 45, 23)
HSLhsl(10, 75%, 36%)
HSVhsv(10, 86%, 62%)
CMYKcmyk(0%, 71.7%, 85.5%, 37.6%)
CIE-LABlab(36.58, 45.91, 39.73)
CIE-LCHlch(36.58, 60.71, 40.87°)
OKLaboklab(47.08% 0.1291 0.0835)
OKLCHoklch(47.08% 0.154 32.9)
XYZxyz(15.3930, 9.3119, 1.7973)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D17 #17899F
analogous
#9F1745 #9F2D17 #9F7117
triadic
#9F2D17 #179F2D #2D179F
tetradic
#9F2D17 #459F17 #17899F #71179F
square
#9F2D17 #459F17 #17899F #71179F
split-complementary
#9F2D17 #179F71 #17459F
monochromatic
#340F08 #6A1E0F #9F2D17 #D43C1F #E5644B

Accessibility & contrast

On white

7.34
#9F2D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9F2D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2D17
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D17#FFFFFF#000000##FFFFFF
##9F2D171.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4613
Deuteranopia (green-blind)
#6B5F10
Tritanopia (blue-blind)
#B00029
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f2d17;
/* rgb */ color: rgb(159, 45, 23);
/* oklch */ color: oklch(47.1% 0.154 32.9);
Tailwind
colors: {
  custom: {
    50: '#c46e57',
    500: '#9f2d17',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d17;
$custom-light: #c46e57;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d17",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 23
  },
  "hsl": {
    "h": 9.706,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4708,
    "c": 0.15371,
    "h": 32.9
  },
  "luminance": 0.0931
}

Semantic roles & 50–950 ramp

primary
#9F2D17
secondary
#4BB3C7
accent
#D3F136
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150803
muted
#837B78

Preview Lab

Preview with #9F2D17

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

Preview Lab → · Contrast checker → · Palette generator →

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