#9F182F#9F182F

#9F182F is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.6% C 0.167 H 19.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#9F182F
RGBrgb(159, 24, 47)
HSLhsl(350, 74%, 36%)
HSVhsv(350, 85%, 62%)
CMYKcmyk(0%, 84.9%, 70.4%, 37.6%)
CIE-LABlab(34.46, 53.53, 23.53)
CIE-LCHlch(34.46, 58.48, 23.73°)
OKLaboklab(45.6% 0.1582 0.0548)
OKLCHoklch(45.6% 0.167 19.1)
XYZxyz(15.1396, 8.2318, 3.4805)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F182F #189F88
analogous
#9F1872 #9F182F #9F4418
triadic
#9F182F #2F9F18 #182F9F
tetradic
#9F182F #729F18 #189F88 #44189F
square
#9F182F #729F18 #189F88 #44189F
split-complementary
#9F182F #189F44 #18729F
monochromatic
#350810 #6A101F #9F182F #D4203F #E44D67

Accessibility & contrast

On white

7.94
#9F182F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9F182F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F182F
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F182F#FFFFFF#000000##FFFFFF
##9F182F1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F2F
Deuteranopia (green-blind)
#645B2B
Tritanopia (blue-blind)
#AF0023
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f182f;
/* rgb */ color: rgb(159, 24, 47);
/* oklch */ color: oklch(45.6% 0.167 19.1);
Tailwind
colors: {
  custom: {
    50: '#c46667',
    500: '#9f182f',
    950: '#000000',
  },
}
SCSS
$custom: #9f182f;
$custom-light: #c46667;
$custom-dark: #000000;
JSON
{
  "hex": "#9f182f",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 47
  },
  "hsl": {
    "h": 349.778,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45595,
    "c": 0.16743,
    "h": 19.1
  },
  "luminance": 0.08229
}

Semantic roles & 50–950 ramp

primary
#9F182F
secondary
#4DC6B1
accent
#F0D137
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F182F

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

Preview Lab → · Contrast checker → · Palette generator →

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