#45170C#45170C

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

Color values

HEX#45170C
RGBrgb(69, 23, 12)
HSLhsl(12, 70%, 16%)
HSVhsv(12, 83%, 27%)
CMYKcmyk(0%, 66.7%, 82.6%, 72.9%)
CIE-LABlab(14.98, 21.39, 17.72)
CIE-LCHlch(14.98, 27.78, 39.65°)
OKLaboklab(27.52% 0.0607 0.0421)
OKLCHoklch(27.52% 0.074 34.7)
XYZxyz(2.8273, 1.9049, 0.5666)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45170C #0C3A45
analogous
#450C1D #45170C #45330C
triadic
#45170C #0C4517 #170C45
tetradic
#45170C #1D450C #0C3A45 #330C45
square
#45170C #1D450C #0C3A45 #330C45
split-complementary
#45170C #0C4533 #0C1D45
monochromatic
#1A0905 #1A0905 #45170C #792815 #AD3A1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45170C#FFFFFF#000000##FFFFFF
##45170C1.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)
#241F0B
Deuteranopia (green-blind)
#2F290B
Tritanopia (blue-blind)
#4D0D15
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #45170c;
/* rgb */ color: rgb(69, 23, 12);
/* oklch */ color: oklch(27.5% 0.074 34.7);
Tailwind
colors: {
  custom: {
    50: '#7d564c',
    500: '#45170c',
    950: '#000000',
  },
}
SCSS
$custom: #45170c;
$custom-light: #7d564c;
$custom-dark: #000000;
JSON
{
  "hex": "#45170c",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 12
  },
  "hsl": {
    "h": 11.579,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27518,
    "c": 0.07392,
    "h": 34.7
  },
  "luminance": 0.01905
}

Semantic roles & 50–950 ramp

primary
#45170C
secondary
#2C7181
accent
#CBED3B
background
#F8F5F4
surface
#EFE9E7
border
#CAC5C3
text
#0A0301
muted
#7C7877

Preview Lab

Preview with #45170C

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

Preview Lab → · Contrast checker → · Palette generator →

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