#9F251F#9F251F

#9F251F is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.4% C 0.159 H 28.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#9F251F
RGBrgb(159, 37, 31)
HSLhsl(3, 67%, 37%)
HSVhsv(3, 81%, 62%)
CMYKcmyk(0%, 76.7%, 80.5%, 37.6%)
CIE-LABlab(35.59, 49.09, 34.53)
CIE-LCHlch(35.59, 60.02, 35.12°)
OKLaboklab(46.36% 0.1405 0.075)
OKLCHoklch(46.36% 0.159 28.1)
XYZxyz(15.2088, 8.7954, 2.1929)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F251F #1F999F
analogous
#9F1F59 #9F251F #9F651F
triadic
#9F251F #1F9F25 #251F9F
tetradic
#9F251F #599F1F #1F999F #651F9F
square
#9F251F #599F1F #1F999F #651F9F
split-complementary
#9F251F #1F9F65 #1F599F
monochromatic
#390D0B #6C1915 #9F251F #D23129 #DF605A

Accessibility & contrast

On white

7.61
#9F251F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9F251F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F251F
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F251F#FFFFFF#000000##FFFFFF
##9F251F1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431D
Deuteranopia (green-blind)
#695D19
Tritanopia (blue-blind)
#B00025
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f251f;
/* rgb */ color: rgb(159, 37, 31);
/* oklch */ color: oklch(46.4% 0.159 28.1);
Tailwind
colors: {
  custom: {
    50: '#c46a5c',
    500: '#9f251f',
    950: '#000000',
  },
}
SCSS
$custom: #9f251f;
$custom-light: #c46a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f251f",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 31
  },
  "hsl": {
    "h": 2.813,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46362,
    "c": 0.15924,
    "h": 28.1
  },
  "luminance": 0.08793
}

Semantic roles & 50–950 ramp

primary
#9F251F
secondary
#57BEC3
accent
#E2EA3E
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9F251F

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

Preview Lab → · Contrast checker → · Palette generator →

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