#9F231F#9F231F

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

Color values

HEX#9F231F
RGBrgb(159, 35, 31)
HSLhsl(2, 67%, 37%)
HSVhsv(2, 81%, 62%)
CMYKcmyk(0%, 78%, 80.5%, 37.6%)
CIE-LABlab(35.35, 49.76, 34.29)
CIE-LCHlch(35.35, 60.42, 34.57°)
OKLaboklab(46.18% 0.1426 0.0744)
OKLCHoklch(46.18% 0.161 27.6)
XYZxyz(15.1483, 8.6743, 2.1728)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F231F #1F9B9F
analogous
#9F1F5B #9F231F #9F631F
triadic
#9F231F #1F9F23 #231F9F
tetradic
#9F231F #5B9F1F #1F9B9F #631F9F
square
#9F231F #5B9F1F #1F9B9F #631F9F
split-complementary
#9F231F #1F9F63 #1F5B9F
monochromatic
#390C0B #6C1815 #9F231F #D22E29 #DF5E5A

Accessibility & contrast

On white

7.68
#9F231F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F231F
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F231F#FFFFFF#000000##FFFFFF
##9F231F1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A421D
Deuteranopia (green-blind)
#685D19
Tritanopia (blue-blind)
#B00024
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f231f;
/* rgb */ color: rgb(159, 35, 31);
/* oklch */ color: oklch(46.2% 0.161 27.6);
Tailwind
colors: {
  custom: {
    50: '#c4695b',
    500: '#9f231f',
    950: '#000000',
  },
}
SCSS
$custom: #9f231f;
$custom-light: #c4695b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f231f",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 31
  },
  "hsl": {
    "h": 1.875,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46185,
    "c": 0.16084,
    "h": 27.6
  },
  "luminance": 0.08672
}

Semantic roles & 50–950 ramp

primary
#9F231F
secondary
#57BFC3
accent
#E5EA3E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9F231F

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

Preview Lab → · Contrast checker → · Palette generator →

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