#9F2A1F#9F2A1F

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

Color values

HEX#9F2A1F
RGBrgb(159, 42, 31)
HSLhsl(5, 67%, 37%)
HSVhsv(5, 81%, 62%)
CMYKcmyk(0%, 73.6%, 80.5%, 37.6%)
CIE-LABlab(36.23, 47.31, 35.18)
CIE-LCHlch(36.23, 58.95, 36.64°)
OKLaboklab(46.84% 0.1349 0.0764)
OKLCHoklch(46.84% 0.155 29.5)
XYZxyz(15.3752, 9.1282, 2.2484)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A1F #1F949F
analogous
#9F1F54 #9F2A1F #9F6A1F
triadic
#9F2A1F #1F9F2A #2A1F9F
tetradic
#9F2A1F #549F1F #1F949F #6A1F9F
square
#9F2A1F #549F1F #1F949F #6A1F9F
split-complementary
#9F2A1F #1F9F6A #1F549F
monochromatic
#390F0B #6C1C15 #9F2A1F #D23829 #DF655A

Accessibility & contrast

On white

7.43
#9F2A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9F2A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2A1F
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A1F#FFFFFF#000000##FFFFFF
##9F2A1F1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451D
Deuteranopia (green-blind)
#6A5F1A
Tritanopia (blue-blind)
#AF0029
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f2a1f;
/* rgb */ color: rgb(159, 42, 31);
/* oklch */ color: oklch(46.8% 0.155 29.5);
Tailwind
colors: {
  custom: {
    50: '#c46c5c',
    500: '#9f2a1f',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a1f;
$custom-light: #c46c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a1f",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 31
  },
  "hsl": {
    "h": 5.156,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46842,
    "c": 0.15503,
    "h": 29.5
  },
  "luminance": 0.09126
}

Semantic roles & 50–950 ramp

primary
#9F2A1F
secondary
#57B9C3
accent
#DBEA3E
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9F2A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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