#45171A#45171A

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

Color values

HEX#45171A
RGBrgb(69, 23, 26)
HSLhsl(356, 50%, 18%)
HSVhsv(356, 67%, 27%)
CMYKcmyk(0%, 66.7%, 62.3%, 72.9%)
CIE-LABlab(15.24, 22.44, 9.37)
CIE-LCHlch(15.24, 24.31, 22.66°)
OKLaboklab(27.8% 0.0671 0.0232)
OKLCHoklch(27.8% 0.071 19.1)
XYZxyz(2.9473, 1.9529, 1.1988)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45171A #174542
analogous
#451731 #45171A #452B17
triadic
#45171A #1A4517 #171A45
tetradic
#45171A #314517 #174542 #2B1745
square
#45171A #314517 #174542 #2B1745
split-complementary
#45171A #17452B #173145
monochromatic
#170809 #170809 #45171A #73262B #A1363D

Accessibility & contrast

On white

15.10
#45171A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45171A
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45171A#FFFFFF#000000##FFFFFF
##45171A1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22201A
Deuteranopia (green-blind)
#2E2A19
Tritanopia (blue-blind)
#4C0F18
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #45171a;
/* rgb */ color: rgb(69, 23, 26);
/* oklch */ color: oklch(27.8% 0.071 19.1);
Tailwind
colors: {
  custom: {
    50: '#7c5656',
    500: '#45171a',
    950: '#000000',
  },
}
SCSS
$custom: #45171a;
$custom-light: #7c5656;
$custom-dark: #000000;
JSON
{
  "hex": "#45171a",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 356.087,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27796,
    "c": 0.07095,
    "h": 19.1
  },
  "luminance": 0.01953
}

Semantic roles & 50–950 ramp

primary
#45171A
secondary
#3C7C78
accent
#DAD04E
background
#F7F5F5
surface
#EEE9E9
border
#C9C5C5
text
#0A0303
muted
#7C7878

Preview Lab

Preview with #45171A

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

Preview Lab → · Contrast checker → · Palette generator →

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