#9F1534#9F1534

#9F1534 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.5% C 0.169 H 16.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#9F1534
RGBrgb(159, 21, 52)
HSLhsl(347, 77%, 35%)
HSVhsv(347, 87%, 62%)
CMYKcmyk(0%, 86.8%, 67.3%, 37.6%)
CIE-LABlab(34.31, 54.48, 20.13)
CIE-LCHlch(34.31, 58.07, 20.28°)
OKLaboklab(45.51% 0.1624 0.0478)
OKLCHoklch(45.51% 0.169 16.4)
XYZxyz(15.1878, 8.1576, 4.0230)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1534 #159F80
analogous
#9F1579 #9F1534 #9F3B15
triadic
#9F1534 #349F15 #15349F
tetradic
#9F1534 #799F15 #159F80 #3B159F
square
#9F1534 #799F15 #159F80 #3B159F
split-complementary
#9F1534 #159F3B #15799F
monochromatic
#330711 #690E22 #9F1534 #D51C46 #E7486B

Accessibility & contrast

On white

7.98
#9F1534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#9F1534 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1534
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1534#FFFFFF#000000##FFFFFF
##9F15341.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413F34
Deuteranopia (green-blind)
#635B30
Tritanopia (blue-blind)
#AF0024
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1534;
/* rgb */ color: rgb(159, 21, 52);
/* oklch */ color: oklch(45.5% 0.169 16.4);
Tailwind
colors: {
  custom: {
    50: '#c3656b',
    500: '#9f1534',
    950: '#000000',
  },
}
SCSS
$custom: #9f1534;
$custom-light: #c3656b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1534",
  "rgb": {
    "r": 159,
    "g": 21,
    "b": 52
  },
  "hsl": {
    "h": 346.522,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45511,
    "c": 0.16931,
    "h": 16.4
  },
  "luminance": 0.08155
}

Semantic roles & 50–950 ramp

primary
#9F1534
secondary
#48C8AB
accent
#F3C835
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140606
muted
#837A7A

Preview Lab

Preview with #9F1534

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

Preview Lab → · Contrast checker → · Palette generator →

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