#9F1D2D#9F1D2D

#9F1D2D is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.9% C 0.164 H 20.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9F1D2D
RGBrgb(159, 29, 45)
HSLhsl(353, 69%, 37%)
HSVhsv(353, 82%, 62%)
CMYKcmyk(0%, 81.8%, 71.7%, 37.6%)
CIE-LABlab(34.89, 52.14, 25.31)
CIE-LCHlch(34.89, 57.96, 25.90°)
OKLaboklab(45.9% 0.1533 0.0584)
OKLCHoklch(45.9% 0.164 20.8)
XYZxyz(15.2129, 8.4415, 3.3105)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D2D #1D9F8F
analogous
#9F1D6E #9F1D2D #9F4E1D
triadic
#9F1D2D #2D9F1D #1D2D9F
tetradic
#9F1D2D #6E9F1D #1D9F8F #4E1D9F
square
#9F1D2D #6E9F1D #1D9F8F #4E1D9F
split-complementary
#9F1D2D #1D9F4E #1D6E9F
monochromatic
#370A10 #6B141E #9F1D2D #D3263C #E05667

Accessibility & contrast

On white

7.81
#9F1D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9F1D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D2D
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D2D#FFFFFF#000000##FFFFFF
##9F1D2D1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45402C
Deuteranopia (green-blind)
#665C29
Tritanopia (blue-blind)
#AF0025
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1d2d;
/* rgb */ color: rgb(159, 29, 45);
/* oklch */ color: oklch(45.9% 0.164 20.8);
Tailwind
colors: {
  custom: {
    50: '#c46765',
    500: '#9f1d2d',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d2d;
$custom-light: #c46765;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d2d",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 45
  },
  "hsl": {
    "h": 352.615,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45899,
    "c": 0.16404,
    "h": 20.8
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#9F1D2D
secondary
#54C4B6
accent
#ECD63C
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140705
muted
#837A7A

Preview Lab

Preview with #9F1D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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