#45172C#45172C

#45172C is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.4% C 0.075 H 354.5°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#45172C
RGBrgb(69, 23, 44)
HSLhsl(333, 50%, 18%)
HSVhsv(333, 67%, 27%)
CMYKcmyk(0%, 66.7%, 36.2%, 72.9%)
CIE-LABlab(15.80, 24.64, -2.84)
CIE-LCHlch(15.80, 24.80, 353.42°)
OKLaboklab(28.4% 0.075 -0.0072)
OKLCHoklch(28.4% 0.075 354.5)
XYZxyz(3.2154, 2.0602, 2.6107)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45172C #174530
analogous
#451743 #45172C #451917
triadic
#45172C #2C4517 #172C45
tetradic
#45172C #434517 #174530 #191745
square
#45172C #434517 #174530 #191745
split-complementary
#45172C #174519 #174345
monochromatic
#17080F #17080F #45172C #732649 #A13667

Accessibility & contrast

On white

14.87
#45172C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#45172C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45172C
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45172C#FFFFFF#000000##FFFFFF
##45172C1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E222D
Deuteranopia (green-blind)
#2A2A2B
Tritanopia (blue-blind)
#4B141F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #45172c;
/* rgb */ color: rgb(69, 23, 44);
/* oklch */ color: oklch(28.4% 0.075 354.5);
Tailwind
colors: {
  custom: {
    50: '#7b5765',
    500: '#45172c',
    950: '#000000',
  },
}
SCSS
$custom: #45172c;
$custom-light: #7b5765;
$custom-dark: #000000;
JSON
{
  "hex": "#45172c",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 44
  },
  "hsl": {
    "h": 332.609,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.284,
    "c": 0.07536,
    "h": 354.5
  },
  "luminance": 0.0206
}

Semantic roles & 50–950 ramp

primary
#45172C
secondary
#3C7C5F
accent
#DA9A4E
background
#F7F5F6
surface
#EEE9EB
border
#C9C5C6
text
#090305
muted
#7B787A

Preview Lab

Preview with #45172C

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

Preview Lab → · Contrast checker → · Palette generator →

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