#9F1F30#9F1F30

#9F1F30 is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.1% C 0.162 H 19.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9F1F30
RGBrgb(159, 31, 48)
HSLhsl(352, 67%, 37%)
HSVhsv(352, 81%, 62%)
CMYKcmyk(0%, 80.5%, 69.8%, 37.6%)
CIE-LABlab(35.14, 51.71, 23.72)
CIE-LCHlch(35.14, 56.90, 24.64°)
OKLaboklab(46.1% 0.1526 0.0554)
OKLCHoklch(46.1% 0.162 19.9)
XYZxyz(15.3233, 8.5667, 3.6424)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F30 #1F9F8E
analogous
#9F1F70 #9F1F30 #9F4E1F
triadic
#9F1F30 #309F1F #1F309F
tetradic
#9F1F30 #709F1F #1F9F8E #4E1F9F
square
#9F1F30 #709F1F #1F9F8E #4E1F9F
split-complementary
#9F1F30 #1F9F4E #1F709F
monochromatic
#390B11 #6C1521 #9F1F30 #D2293F #DF5A6B

Accessibility & contrast

On white

7.74
#9F1F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9F1F30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F30
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F30#FFFFFF#000000##FFFFFF
##9F1F301.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464130
Deuteranopia (green-blind)
#665C2C
Tritanopia (blue-blind)
#AF0027
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1f30;
/* rgb */ color: rgb(159, 31, 48);
/* oklch */ color: oklch(46.1% 0.162 19.9);
Tailwind
colors: {
  custom: {
    50: '#c36868',
    500: '#9f1f30',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f30;
$custom-light: #c36868;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f30",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 48
  },
  "hsl": {
    "h": 352.031,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46099,
    "c": 0.16236,
    "h": 19.9
  },
  "luminance": 0.08564
}

Semantic roles & 50–950 ramp

primary
#9F1F30
secondary
#57C3B4
accent
#EAD33E
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F1F30

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

Preview Lab → · Contrast checker → · Palette generator →

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