#55171F#55171F

#55171F is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.9% C 0.091 H 16.9°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#55171F
RGBrgb(85, 23, 31)
HSLhsl(352, 57%, 21%)
HSVhsv(352, 73%, 33%)
CMYKcmyk(0%, 72.9%, 63.5%, 66.7%)
CIE-LABlab(18.56, 29.22, 10.80)
CIE-LCHlch(18.56, 31.15, 20.28°)
OKLaboklab(30.93% 0.0875 0.0266)
OKLCHoklch(30.93% 0.091 16.9)
XYZxyz(4.3004, 2.6436, 1.5799)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55171F #17554D
analogous
#55173E #55171F #552E17
triadic
#55171F #1F5517 #171F55
tetradic
#55171F #3E5517 #17554D #2E1755
square
#55171F #3E5517 #17554D #2E1755
split-complementary
#55171F #17552E #173E55
monochromatic
#180709 #250A0D #55171F #852431 #B53142

Accessibility & contrast

On white

13.74
#55171F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#55171F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55171F
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55171F#FFFFFF#000000##FFFFFF
##55171F1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251F
Deuteranopia (green-blind)
#37321D
Tritanopia (blue-blind)
#5E091A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #55171f;
/* rgb */ color: rgb(85, 23, 31);
/* oklch */ color: oklch(30.9% 0.091 16.9);
Tailwind
colors: {
  custom: {
    50: '#89585a',
    500: '#55171f',
    950: '#000000',
  },
}
SCSS
$custom: #55171f;
$custom-light: #89585a;
$custom-dark: #000000;
JSON
{
  "hex": "#55171f",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 352.258,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30926,
    "c": 0.09139,
    "h": 16.9
  },
  "luminance": 0.02643
}

Semantic roles & 50–950 ramp

primary
#55171F
secondary
#3C8C82
accent
#E1CD47
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #55171F

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

Preview Lab → · Contrast checker → · Palette generator →

#55171F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva