#9F331F#9F331F

#9F331F is a mid, vivid red. Relative luminance 0.098; OKLCH L 47.8% C 0.147 H 32.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9F331F
RGBrgb(159, 51, 31)
HSLhsl(9, 67%, 37%)
HSVhsv(9, 81%, 62%)
CMYKcmyk(0%, 67.9%, 80.5%, 37.6%)
CIE-LABlab(37.55, 43.69, 36.52)
CIE-LCHlch(37.55, 56.94, 39.89°)
OKLaboklab(47.83% 0.1236 0.0793)
OKLCHoklch(47.83% 0.147 32.7)
XYZxyz(15.7310, 9.8398, 2.3670)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F331F #1F8B9F
analogous
#9F1F4B #9F331F #9F731F
triadic
#9F331F #1F9F33 #331F9F
tetradic
#9F331F #4B9F1F #1F8B9F #731F9F
square
#9F331F #4B9F1F #1F8B9F #731F9F
split-complementary
#9F331F #1F9F73 #1F4B9F
monochromatic
#39120B #6C2315 #9F331F #D24329 #DF6E5A

Accessibility & contrast

On white

7.08
#9F331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9F331F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F331F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F331F#FFFFFF#000000##FFFFFF
##9F331F1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491C
Deuteranopia (green-blind)
#6D611A
Tritanopia (blue-blind)
#AF112F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f331f;
/* rgb */ color: rgb(159, 51, 31);
/* oklch */ color: oklch(47.8% 0.147 32.7);
Tailwind
colors: {
  custom: {
    50: '#c4715c',
    500: '#9f331f',
    950: '#000000',
  },
}
SCSS
$custom: #9f331f;
$custom-light: #c4715c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f331f",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 9.375,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47833,
    "c": 0.14687,
    "h": 32.7
  },
  "luminance": 0.09838
}

Semantic roles & 50–950 ramp

primary
#9F331F
secondary
#57B2C3
accent
#CFEA3E
background
#FDF7F5
surface
#FAEDE9
border
#D3C8C5
text
#140804
muted
#837B79

Preview Lab

Preview with #9F331F

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

Preview Lab → · Contrast checker → · Palette generator →

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