#45170F#45170F

#45170F is a dark, moderate red. Relative luminance 0.019; OKLCH L 27.6% C 0.073 H 31.9°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#45170F
RGBrgb(69, 23, 15)
HSLhsl(9, 64%, 16%)
HSVhsv(9, 78%, 27%)
CMYKcmyk(0%, 66.7%, 78.3%, 72.9%)
CIE-LABlab(15.02, 21.56, 16.30)
CIE-LCHlch(15.02, 27.03, 37.09°)
OKLaboklab(27.56% 0.062 0.0386)
OKLCHoklch(27.56% 0.073 31.9)
XYZxyz(2.8471, 1.9129, 0.6711)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45170F #0F3D45
analogous
#450F22 #45170F #45320F
triadic
#45170F #0F4517 #170F45
tetradic
#45170F #22450F #0F3D45 #320F45
square
#45170F #22450F #0F3D45 #320F45
split-complementary
#45170F #0F4532 #0F2245
monochromatic
#190805 #190805 #45170F #77281A #AA3925

Accessibility & contrast

On white

15.19
#45170F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#45170F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45170F
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45170F#FFFFFF#000000##FFFFFF
##45170F1.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F0E
Deuteranopia (green-blind)
#2F290E
Tritanopia (blue-blind)
#4C0D15
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #45170f;
/* rgb */ color: rgb(69, 23, 15);
/* oklch */ color: oklch(27.6% 0.073 31.9);
Tailwind
colors: {
  custom: {
    50: '#7d564e',
    500: '#45170f',
    950: '#000000',
  },
}
SCSS
$custom: #45170f;
$custom-light: #7d564e;
$custom-dark: #000000;
JSON
{
  "hex": "#45170f",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 8.889,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27564,
    "c": 0.07303,
    "h": 31.9
  },
  "luminance": 0.01912
}

Semantic roles & 50–950 ramp

primary
#45170F
secondary
#30747F
accent
#CFE741
background
#F8F5F4
surface
#EFE9E7
border
#CAC5C3
text
#0A0301
muted
#7C7877

Preview Lab

Preview with #45170F

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

Preview Lab → · Contrast checker → · Palette generator →

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