#9F2D1F#9F2D1F

#9F2D1F is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.2% C 0.152 H 30.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9F2D1F
RGBrgb(159, 45, 31)
HSLhsl(7, 67%, 37%)
HSVhsv(7, 81%, 62%)
CMYKcmyk(0%, 71.7%, 80.5%, 37.6%)
CIE-LABlab(36.65, 46.16, 35.60)
CIE-LCHlch(36.65, 58.29, 37.65°)
OKLaboklab(47.15% 0.1313 0.0773)
OKLCHoklch(47.15% 0.152 30.5)
XYZxyz(15.4856, 9.3490, 2.2852)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D1F #1F919F
analogous
#9F1F51 #9F2D1F #9F6D1F
triadic
#9F2D1F #1F9F2D #2D1F9F
tetradic
#9F2D1F #519F1F #1F919F #6D1F9F
square
#9F2D1F #519F1F #1F919F #6D1F9F
split-complementary
#9F2D1F #1F9F6D #1F519F
monochromatic
#39100B #6C1F15 #9F2D1F #D23B29 #DF685A

Accessibility & contrast

On white

7.32
#9F2D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9F2D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2D1F
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D1F#FFFFFF#000000##FFFFFF
##9F2D1F1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F461C
Deuteranopia (green-blind)
#6B5F1A
Tritanopia (blue-blind)
#AF002B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f2d1f;
/* rgb */ color: rgb(159, 45, 31);
/* oklch */ color: oklch(47.2% 0.152 30.5);
Tailwind
colors: {
  custom: {
    50: '#c46e5c',
    500: '#9f2d1f',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d1f;
$custom-light: #c46e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d1f",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 31
  },
  "hsl": {
    "h": 6.563,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47154,
    "c": 0.15237,
    "h": 30.5
  },
  "luminance": 0.09347
}

Semantic roles & 50–950 ramp

primary
#9F2D1F
secondary
#57B7C3
accent
#D7EA3E
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140804
muted
#837B79

Preview Lab

Preview with #9F2D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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