#9F231B#9F231B

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

Color values

HEX#9F231B
RGBrgb(159, 35, 27)
HSLhsl(4, 71%, 36%)
HSVhsv(4, 83%, 62%)
CMYKcmyk(0%, 78%, 83%, 37.6%)
CIE-LABlab(35.31, 49.63, 36.48)
CIE-LCHlch(35.31, 61.59, 36.32°)
OKLaboklab(46.14% 0.1414 0.0778)
OKLCHoklch(46.14% 0.161 28.8)
XYZxyz(15.0988, 8.6545, 1.9122)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F231B #1B979F
analogous
#9F1B55 #9F231B #9F651B
triadic
#9F231B #1B9F23 #231B9F
tetradic
#9F231B #559F1B #1B979F #651B9F
square
#9F231B #559F1B #1B979F #651B9F
split-complementary
#9F231B #1B9F65 #1B559F
monochromatic
#360C09 #6B1712 #9F231B #D32F24 #E25B53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F231B#FFFFFF#000000##FFFFFF
##9F231B1.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)
#4A4218
Deuteranopia (green-blind)
#685D14
Tritanopia (blue-blind)
#B00023
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f231b;
/* rgb */ color: rgb(159, 35, 27);
/* oklch */ color: oklch(46.1% 0.161 28.8);
Tailwind
colors: {
  custom: {
    50: '#c56959',
    500: '#9f231b',
    950: '#000000',
  },
}
SCSS
$custom: #9f231b;
$custom-light: #c56959;
$custom-dark: #000000;
JSON
{
  "hex": "#9f231b",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 27
  },
  "hsl": {
    "h": 3.636,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46144,
    "c": 0.16137,
    "h": 28.8
  },
  "luminance": 0.08652
}

Semantic roles & 50–950 ramp

primary
#9F231B
secondary
#51BEC5
accent
#E3EE3A
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F231B

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

Preview Lab → · Contrast checker → · Palette generator →

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