#9F2A1B#9F2A1B

#9F2A1B is a mid, vivid red. Relative luminance 0.091; OKLCH L 46.8% C 0.156 H 30.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9F2A1B
RGBrgb(159, 42, 27)
HSLhsl(7, 71%, 36%)
HSVhsv(7, 83%, 62%)
CMYKcmyk(0%, 73.6%, 83%, 37.6%)
CIE-LABlab(36.19, 47.18, 37.32)
CIE-LCHlch(36.19, 60.16, 38.35°)
OKLaboklab(46.8% 0.1337 0.0797)
OKLCHoklch(46.8% 0.156 30.8)
XYZxyz(15.3257, 9.1084, 1.9878)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A1B #1B909F
analogous
#9F1B4E #9F2A1B #9F6C1B
triadic
#9F2A1B #1B9F2A #2A1B9F
tetradic
#9F2A1B #4E9F1B #1B909F #6C1B9F
square
#9F2A1B #4E9F1B #1B909F #6C1B9F
split-complementary
#9F2A1B #1B9F6C #1B4E9F
monochromatic
#360E09 #6B1C12 #9F2A1B #D33824 #E26353

Accessibility & contrast

On white

7.44
#9F2A1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9F2A1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2A1B
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A1B#FFFFFF#000000##FFFFFF
##9F2A1B1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4518
Deuteranopia (green-blind)
#6A5F15
Tritanopia (blue-blind)
#B00028
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f2a1b;
/* rgb */ color: rgb(159, 42, 27);
/* oklch */ color: oklch(46.8% 0.156 30.8);
Tailwind
colors: {
  custom: {
    50: '#c46c59',
    500: '#9f2a1b',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a1b;
$custom-light: #c46c59;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a1b",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 27
  },
  "hsl": {
    "h": 6.818,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46802,
    "c": 0.15566,
    "h": 30.8
  },
  "luminance": 0.09106
}

Semantic roles & 50–950 ramp

primary
#9F2A1B
secondary
#51B7C5
accent
#D9EE3A
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9F2A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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