#45171B#45171B

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

Color values

HEX#45171B
RGBrgb(69, 23, 27)
HSLhsl(355, 50%, 18%)
HSVhsv(355, 67%, 27%)
CMYKcmyk(0%, 66.7%, 60.9%, 72.9%)
CIE-LABlab(15.26, 22.53, 8.68)
CIE-LCHlch(15.26, 24.15, 21.06°)
OKLaboklab(27.82% 0.0675 0.0216)
OKLCHoklch(27.82% 0.071 17.8)
XYZxyz(2.9587, 1.9575, 1.2587)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45171B #174541
analogous
#451732 #45171B #452A17
triadic
#45171B #1B4517 #171B45
tetradic
#45171B #324517 #174541 #2A1745
square
#45171B #324517 #174541 #2A1745
split-complementary
#45171B #17452A #173245
monochromatic
#170809 #170809 #45171B #73262D #A1363F

Accessibility & contrast

On white

15.09
#45171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45171B
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45171B#FFFFFF#000000##FFFFFF
##45171B1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22201B
Deuteranopia (green-blind)
#2D2A1A
Tritanopia (blue-blind)
#4C0F19
Achromatopsia (no color)
#262626

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#45171B
secondary
#3C7C76
accent
#DACD4E
background
#F7F5F5
surface
#EEE9E9
border
#C9C5C5
text
#0A0303
muted
#7C7878

Preview Lab

Preview with #45171B

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

Preview Lab → · Contrast checker → · Palette generator →

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