#45172D#45172D

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

Color values

HEX#45172D
RGBrgb(69, 23, 45)
HSLhsl(331, 50%, 18%)
HSVhsv(331, 67%, 27%)
CMYKcmyk(0%, 66.7%, 34.8%, 72.9%)
CIE-LABlab(15.84, 24.79, -3.51)
CIE-LCHlch(15.84, 25.04, 351.95°)
OKLaboklab(28.44% 0.0754 -0.009)
OKLCHoklch(28.44% 0.076 353.2)
XYZxyz(3.2344, 2.0678, 2.7109)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45172D #17452F
analogous
#451744 #45172D #451817
triadic
#45172D #2D4517 #172D45
tetradic
#45172D #444517 #17452F #181745
square
#45172D #444517 #17452F #181745
split-complementary
#45172D #174518 #174445
monochromatic
#17080F #17080F #45172D #73264B #A13669

Accessibility & contrast

On white

14.86
#45172D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45172D
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45172D#FFFFFF#000000##FFFFFF
##45172D1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E222E
Deuteranopia (green-blind)
#2A2B2C
Tritanopia (blue-blind)
#4A1420
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #45172d;
/* rgb */ color: rgb(69, 23, 45);
/* oklch */ color: oklch(28.4% 0.076 353.2);
Tailwind
colors: {
  custom: {
    50: '#7b5765',
    500: '#45172d',
    950: '#000000',
  },
}
SCSS
$custom: #45172d;
$custom-light: #7b5765;
$custom-dark: #000000;
JSON
{
  "hex": "#45172d",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 45
  },
  "hsl": {
    "h": 331.304,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28442,
    "c": 0.07592,
    "h": 353.2
  },
  "luminance": 0.02067
}

Semantic roles & 50–950 ramp

primary
#45172D
secondary
#3C7C5D
accent
#DA974E
background
#F7F5F6
surface
#EEE9EB
border
#C9C5C6
text
#090305
muted
#7B787A

Preview Lab

Preview with #45172D

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

Preview Lab → · Contrast checker → · Palette generator →

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