#45171E#45171E

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

Color values

HEX#45171E
RGBrgb(69, 23, 30)
HSLhsl(351, 50%, 18%)
HSVhsv(351, 67%, 27%)
CMYKcmyk(0%, 66.7%, 56.5%, 72.9%)
CIE-LABlab(15.34, 22.84, 6.62)
CIE-LCHlch(15.34, 23.78, 16.16°)
OKLaboklab(27.91% 0.069 0.0168)
OKLCHoklch(27.91% 0.071 13.7)
XYZxyz(2.9952, 1.9721, 1.4510)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45171E #17453E
analogous
#451735 #45171E #452717
triadic
#45171E #1E4517 #171E45
tetradic
#45171E #354517 #17453E #271745
square
#45171E #354517 #17453E #271745
split-complementary
#45171E #174527 #173545
monochromatic
#17080A #17080A #45171E #732632 #A13646

Accessibility & contrast

On white

15.06
#45171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45171E
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45171E#FFFFFF#000000##FFFFFF
##45171E1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21211E
Deuteranopia (green-blind)
#2D2A1D
Tritanopia (blue-blind)
#4C101A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #45171e;
/* rgb */ color: rgb(69, 23, 30);
/* oklch */ color: oklch(27.9% 0.071 13.7);
Tailwind
colors: {
  custom: {
    50: '#7c5659',
    500: '#45171e',
    950: '#000000',
  },
}
SCSS
$custom: #45171e;
$custom-light: #7c5659;
$custom-dark: #000000;
JSON
{
  "hex": "#45171e",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 350.87,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27906,
    "c": 0.07098,
    "h": 13.7
  },
  "luminance": 0.01972
}

Semantic roles & 50–950 ramp

primary
#45171E
secondary
#3C7C72
accent
#DAC44E
background
#F7F5F5
surface
#EEE9E9
border
#C9C5C5
text
#0A0303
muted
#7C7878

Preview Lab

Preview with #45171E

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

Preview Lab → · Contrast checker → · Palette generator →

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