#45172F#45172F

#45172F is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.5% C 0.077 H 350.7°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#45172F
RGBrgb(69, 23, 47)
HSLhsl(329, 50%, 18%)
HSVhsv(329, 67%, 27%)
CMYKcmyk(0%, 66.7%, 31.9%, 72.9%)
CIE-LABlab(15.92, 25.10, -4.82)
CIE-LCHlch(15.92, 25.56, 349.13°)
OKLaboklab(28.53% 0.0761 -0.0125)
OKLCHoklch(28.53% 0.077 350.7)
XYZxyz(3.2739, 2.0836, 2.9185)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45172F #17452D
analogous
#441745 #45172F #451718
triadic
#45172F #2F4517 #172F45
tetradic
#45172F #454417 #17452D #171845
square
#45172F #454417 #17452D #171845
split-complementary
#45172F #184517 #174544
monochromatic
#170810 #170810 #45172F #73264E #A1366E

Accessibility & contrast

On white

14.82
#45172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#45172F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45172F
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45172F#FFFFFF#000000##FFFFFF
##45172F1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2230
Deuteranopia (green-blind)
#2A2B2E
Tritanopia (blue-blind)
#4A1521
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #45172f;
/* rgb */ color: rgb(69, 23, 47);
/* oklch */ color: oklch(28.5% 0.077 350.7);
Tailwind
colors: {
  custom: {
    50: '#7b5767',
    500: '#45172f',
    950: '#000000',
  },
}
SCSS
$custom: #45172f;
$custom-light: #7b5767;
$custom-dark: #000000;
JSON
{
  "hex": "#45172f",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 328.696,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28528,
    "c": 0.07713,
    "h": 350.7
  },
  "luminance": 0.02083
}

Semantic roles & 50–950 ramp

primary
#45172F
secondary
#3C7C5B
accent
#DA914E
background
#F7F5F6
surface
#EEE9EB
border
#C9C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #45172F

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

Preview Lab → · Contrast checker → · Palette generator →

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