#9F251B#9F251B

#9F251B is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.3% C 0.160 H 29.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9F251B
RGBrgb(159, 37, 27)
HSLhsl(5, 71%, 36%)
HSVhsv(5, 83%, 62%)
CMYKcmyk(0%, 76.7%, 83%, 37.6%)
CIE-LABlab(35.55, 48.96, 36.71)
CIE-LCHlch(35.55, 61.19, 36.86°)
OKLaboklab(46.32% 0.1393 0.0783)
OKLCHoklch(46.32% 0.16 29.3)
XYZxyz(15.1593, 8.7756, 1.9324)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F251B #1B959F
analogous
#9F1B53 #9F251B #9F671B
triadic
#9F251B #1B9F25 #251B9F
tetradic
#9F251B #539F1B #1B959F #671B9F
square
#9F251B #539F1B #1B959F #671B9F
split-complementary
#9F251B #1B9F67 #1B539F
monochromatic
#360D09 #6B1912 #9F251B #D33124 #E25E53

Accessibility & contrast

On white

7.62
#9F251B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9F251B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F251B
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F251B#FFFFFF#000000##FFFFFF
##9F251B1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4318
Deuteranopia (green-blind)
#695D15
Tritanopia (blue-blind)
#B00024
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f251b;
/* rgb */ color: rgb(159, 37, 27);
/* oklch */ color: oklch(46.3% 0.160 29.3);
Tailwind
colors: {
  custom: {
    50: '#c46a59',
    500: '#9f251b',
    950: '#000000',
  },
}
SCSS
$custom: #9f251b;
$custom-light: #c46a59;
$custom-dark: #000000;
JSON
{
  "hex": "#9f251b",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 27
  },
  "hsl": {
    "h": 4.545,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46321,
    "c": 0.15979,
    "h": 29.3
  },
  "luminance": 0.08773
}

Semantic roles & 50–950 ramp

primary
#9F251B
secondary
#51BCC5
accent
#E0EE3A
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F251B

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

Preview Lab → · Contrast checker → · Palette generator →

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