#45170B#45170B

#45170B is a dark, moderate red. Relative luminance 0.019; OKLCH L 27.5% C 0.074 H 35.6°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#45170B
RGBrgb(69, 23, 11)
HSLhsl(12, 73%, 16%)
HSVhsv(12, 84%, 27%)
CMYKcmyk(0%, 66.7%, 84.1%, 72.9%)
CIE-LABlab(14.97, 21.33, 18.15)
CIE-LCHlch(14.97, 28.01, 40.39°)
OKLaboklab(27.5% 0.0604 0.0432)
OKLCHoklch(27.5% 0.074 35.6)
XYZxyz(2.8213, 1.9025, 0.5352)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45170B #0B3945
analogous
#450B1C #45170B #45340B
triadic
#45170B #0B4517 #170B45
tetradic
#45170B #1C450B #0B3945 #340B45
square
#45170B #1C450B #0B3945 #340B45
split-complementary
#45170B #0B4534 #0B1C45
monochromatic
#1A0904 #1A0904 #45170B #7A2913 #AF3A1C

Accessibility & contrast

On white

15.21
#45170B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45170B
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45170B#FFFFFF#000000##FFFFFF
##45170B1.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241F09
Deuteranopia (green-blind)
#2F290A
Tritanopia (blue-blind)
#4D0C14
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #45170b;
/* rgb */ color: rgb(69, 23, 11);
/* oklch */ color: oklch(27.5% 0.074 35.6);
Tailwind
colors: {
  custom: {
    50: '#7d564b',
    500: '#45170b',
    950: '#000000',
  },
}
SCSS
$custom: #45170b;
$custom-light: #7d564b;
$custom-dark: #000000;
JSON
{
  "hex": "#45170b",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 11
  },
  "hsl": {
    "h": 12.414,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27504,
    "c": 0.07422,
    "h": 35.6
  },
  "luminance": 0.01902
}

Semantic roles & 50–950 ramp

primary
#45170B
secondary
#2A6F81
accent
#C9EF39
background
#F8F5F4
surface
#EFE9E7
border
#CAC5C3
text
#0A0301
muted
#7C7877

Preview Lab

Preview with #45170B

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

Preview Lab → · Contrast checker → · Palette generator →

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