#45171C#45171C

#45171C is a dark, moderate red. Relative luminance 0.020; OKLCH L 27.8% C 0.071 H 16.4°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#45171C
RGBrgb(69, 23, 28)
HSLhsl(353, 50%, 18%)
HSVhsv(353, 67%, 27%)
CMYKcmyk(0%, 66.7%, 59.4%, 72.9%)
CIE-LABlab(15.29, 22.63, 7.99)
CIE-LCHlch(15.29, 24.00, 19.45°)
OKLaboklab(27.85% 0.068 0.02)
OKLCHoklch(27.85% 0.071 16.4)
XYZxyz(2.9705, 1.9622, 1.3207)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45171C #174540
analogous
#451733 #45171C #452917
triadic
#45171C #1C4517 #171C45
tetradic
#45171C #334517 #174540 #291745
square
#45171C #334517 #174540 #291745
split-complementary
#45171C #174529 #173345
monochromatic
#170809 #170809 #45171C #73262F #A13641

Accessibility & contrast

On white

15.08
#45171C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#45171C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45171C
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45171C#FFFFFF#000000##FFFFFF
##45171C1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22201C
Deuteranopia (green-blind)
#2D2A1B
Tritanopia (blue-blind)
#4C1019
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #45171c;
/* rgb */ color: rgb(69, 23, 28);
/* oklch */ color: oklch(27.8% 0.071 16.4);
Tailwind
colors: {
  custom: {
    50: '#7c5657',
    500: '#45171c',
    950: '#000000',
  },
}
SCSS
$custom: #45171c;
$custom-light: #7c5657;
$custom-dark: #000000;
JSON
{
  "hex": "#45171c",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 28
  },
  "hsl": {
    "h": 353.478,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27849,
    "c": 0.0709,
    "h": 16.4
  },
  "luminance": 0.01962
}

Semantic roles & 50–950 ramp

primary
#45171C
secondary
#3C7C75
accent
#DACA4E
background
#F7F5F5
surface
#EEE9E9
border
#C9C5C5
text
#0A0303
muted
#7C7878

Preview Lab

Preview with #45171C

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

Preview Lab → · Contrast checker → · Palette generator →

#45171C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva