#45172E#45172E

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

Color values

HEX#45172E
RGBrgb(69, 23, 46)
HSLhsl(330, 50%, 18%)
HSVhsv(330, 67%, 27%)
CMYKcmyk(0%, 66.7%, 33.3%, 72.9%)
CIE-LABlab(15.88, 24.94, -4.16)
CIE-LCHlch(15.88, 25.29, 350.52°)
OKLaboklab(28.49% 0.0758 -0.0107)
OKLCHoklch(28.49% 0.077 351.9)
XYZxyz(3.2539, 2.0756, 2.8135)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45172E #17452E
analogous
#451745 #45172E #451717
triadic
#45172E #2E4517 #172E45
tetradic
#45172E #454517 #17452E #171745
square
#45172E #454517 #17452E #171745
split-complementary
#45172E #174517 #174545
monochromatic
#17080F #17080F #45172E #73264D #A1366B

Accessibility & contrast

On white

14.84
#45172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45172E
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45172E#FFFFFF#000000##FFFFFF
##45172E1.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D222F
Deuteranopia (green-blind)
#2A2B2D
Tritanopia (blue-blind)
#4A1520
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #45172e;
/* rgb */ color: rgb(69, 23, 46);
/* oklch */ color: oklch(28.5% 0.077 351.9);
Tailwind
colors: {
  custom: {
    50: '#7b5766',
    500: '#45172e',
    950: '#000000',
  },
}
SCSS
$custom: #45172e;
$custom-light: #7b5766;
$custom-dark: #000000;
JSON
{
  "hex": "#45172e",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 330,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28485,
    "c": 0.07651,
    "h": 351.9
  },
  "luminance": 0.02075
}

Semantic roles & 50–950 ramp

primary
#45172E
secondary
#3C7C5C
accent
#DA944E
background
#F7F5F6
surface
#EEE9EB
border
#C9C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #45172E

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

Preview Lab → · Contrast checker → · Palette generator →

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