#9F231C#9F231C

#9F231C is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.2% C 0.161 H 28.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9F231C
RGBrgb(159, 35, 28)
HSLhsl(3, 70%, 37%)
HSVhsv(3, 82%, 62%)
CMYKcmyk(0%, 78%, 82.4%, 37.6%)
CIE-LABlab(35.32, 49.66, 35.94)
CIE-LCHlch(35.32, 61.30, 35.90°)
OKLaboklab(46.15% 0.1417 0.077)
OKLCHoklch(46.15% 0.161 28.5)
XYZxyz(15.1106, 8.6593, 1.9742)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F231C #1C989F
analogous
#9F1C57 #9F231C #9F651C
triadic
#9F231C #1C9F23 #231C9F
tetradic
#9F231C #579F1C #1C989F #651C9F
square
#9F231C #579F1C #1C989F #651C9F
split-complementary
#9F231C #1C9F65 #1C579F
monochromatic
#370C0A #6B1813 #9F231C #D32E25 #E15C54

Accessibility & contrast

On white

7.69
#9F231C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9F231C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F231C
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F231C#FFFFFF#000000##FFFFFF
##9F231C1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A421A
Deuteranopia (green-blind)
#685D16
Tritanopia (blue-blind)
#B00023
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f231c;
/* rgb */ color: rgb(159, 35, 28);
/* oklch */ color: oklch(46.2% 0.161 28.5);
Tailwind
colors: {
  custom: {
    50: '#c56959',
    500: '#9f231c',
    950: '#000000',
  },
}
SCSS
$custom: #9f231c;
$custom-light: #c56959;
$custom-dark: #000000;
JSON
{
  "hex": "#9f231c",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 28
  },
  "hsl": {
    "h": 3.206,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46154,
    "c": 0.16124,
    "h": 28.5
  },
  "luminance": 0.08657
}

Semantic roles & 50–950 ramp

primary
#9F231C
secondary
#53BEC4
accent
#E3ED3B
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F231C

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

Preview Lab → · Contrast checker → · Palette generator →

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