#9F2F31#9F2F31

#9F2F31 is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.6% C 0.148 H 23.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9F2F31
RGBrgb(159, 47, 49)
HSLhsl(359, 54%, 40%)
HSVhsv(359, 70%, 62%)
CMYKcmyk(0%, 70.4%, 69.2%, 37.6%)
CIE-LABlab(37.17, 46.17, 25.58)
CIE-LCHlch(37.17, 52.78, 28.99°)
OKLaboklab(47.62% 0.1352 0.0596)
OKLCHoklch(47.62% 0.148 23.8)
XYZxyz(15.8707, 9.6280, 3.9278)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F31 #2F9F9D
analogous
#9F2F69 #9F2F31 #9F652F
triadic
#9F2F31 #319F2F #2F319F
tetradic
#9F2F31 #699F2F #2F9F9D #652F9F
square
#9F2F31 #699F2F #2F9F9D #652F9F
split-complementary
#9F2F31 #2F9F65 #2F699F
monochromatic
#411314 #702122 #9F2F31 #C84446 #D67375

Accessibility & contrast

On white

7.18
#9F2F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9F2F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2F31
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F31#FFFFFF#000000##FFFFFF
##9F2F311.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4830
Deuteranopia (green-blind)
#6A602E
Tritanopia (blue-blind)
#AF0C31
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f2f31;
/* rgb */ color: rgb(159, 47, 49);
/* oklch */ color: oklch(47.6% 0.148 23.8);
Tailwind
colors: {
  custom: {
    50: '#c36f69',
    500: '#9f2f31',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f31;
$custom-light: #c36f69;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f31",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 49
  },
  "hsl": {
    "h": 358.929,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47615,
    "c": 0.14775,
    "h": 23.8
  },
  "luminance": 0.09626
}

Semantic roles & 50–950 ramp

primary
#9F2F31
secondary
#6DBDBC
accent
#DEDB4A
background
#FCF7F6
surface
#F9EDEB
border
#D2C8C6
text
#140806
muted
#827B7A

Preview Lab

Preview with #9F2F31

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

Preview Lab → · Contrast checker → · Palette generator →

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