#9D2017#9D2017

#9D2017 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.5% C 0.162 H 29.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#9D2017
RGBrgb(157, 32, 23)
HSLhsl(4, 74%, 35%)
HSVhsv(4, 85%, 62%)
CMYKcmyk(0%, 79.6%, 85.4%, 38.4%)
CIE-LABlab(34.53, 49.84, 37.74)
CIE-LCHlch(34.53, 62.52, 37.14°)
OKLaboklab(45.48% 0.1415 0.0792)
OKLCHoklch(45.48% 0.162 29.2)
XYZxyz(14.5776, 8.2654, 1.6383)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2017 #17949D
analogous
#9D1751 #9D2017 #9D6317
triadic
#9D2017 #179D20 #20179D
tetradic
#9D2017 #519D17 #17949D #63179D
square
#9D2017 #519D17 #17949D #63179D
split-complementary
#9D2017 #179D63 #17519D
monochromatic
#320A07 #68150F #9D2017 #D22B1F #E4544A

Accessibility & contrast

On white

7.92
#9D2017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9D2017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2017
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2017#FFFFFF#000000##FFFFFF
##9D20171.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484014
Deuteranopia (green-blind)
#675B0F
Tritanopia (blue-blind)
#AE0020
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d2017;
/* rgb */ color: rgb(157, 32, 23);
/* oklch */ color: oklch(45.5% 0.162 29.2);
Tailwind
colors: {
  custom: {
    50: '#c36856',
    500: '#9d2017',
    950: '#000000',
  },
}
SCSS
$custom: #9d2017;
$custom-light: #c36856;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2017",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 4.03,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45479,
    "c": 0.16217,
    "h": 29.2
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#9D2017
secondary
#4ABEC6
accent
#E5F137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9D2017

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

Preview Lab → · Contrast checker → · Palette generator →

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