#9F2E17#9F2E17

#9F2E17 is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.2% C 0.153 H 33.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9F2E17
RGBrgb(159, 46, 23)
HSLhsl(10, 75%, 36%)
HSVhsv(10, 86%, 62%)
CMYKcmyk(0%, 71.1%, 85.5%, 37.6%)
CIE-LABlab(36.72, 45.51, 39.86)
CIE-LCHlch(36.72, 60.50, 41.21°)
OKLaboklab(47.19% 0.1278 0.0838)
OKLCHoklch(47.19% 0.153 33.2)
XYZxyz(15.4316, 9.3892, 1.8102)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E17 #17889F
analogous
#9F1744 #9F2E17 #9F7217
triadic
#9F2E17 #179F2E #2E179F
tetradic
#9F2E17 #449F17 #17889F #72179F
square
#9F2E17 #449F17 #17889F #72179F
split-complementary
#9F2E17 #179F72 #17449F
monochromatic
#340F08 #6A1F0F #9F2E17 #D43D1F #E5654B

Accessibility & contrast

On white

7.30
#9F2E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9F2E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2E17
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E17#FFFFFF#000000##FFFFFF
##9F2E171.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504613
Deuteranopia (green-blind)
#6C6010
Tritanopia (blue-blind)
#B0002A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f2e17;
/* rgb */ color: rgb(159, 46, 23);
/* oklch */ color: oklch(47.2% 0.153 33.2);
Tailwind
colors: {
  custom: {
    50: '#c46e57',
    500: '#9f2e17',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e17;
$custom-light: #c46e57;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e17",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 23
  },
  "hsl": {
    "h": 10.147,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47188,
    "c": 0.15283,
    "h": 33.2
  },
  "luminance": 0.09387
}

Semantic roles & 50–950 ramp

primary
#9F2E17
secondary
#4BB2C7
accent
#D2F136
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140803
muted
#837B78

Preview Lab

Preview with #9F2E17

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

Preview Lab → · Contrast checker → · Palette generator →

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