#45173B#45173B

#45173B is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.1% C 0.086 H 336.9°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#45173B
RGBrgb(69, 23, 59)
HSLhsl(313, 50%, 18%)
HSVhsv(313, 67%, 27%)
CMYKcmyk(0%, 66.7%, 14.5%, 72.9%)
CIE-LABlab(16.47, 27.16, -12.50)
CIE-LCHlch(16.47, 29.90, 335.28°)
OKLaboklab(29.12% 0.0795 -0.0338)
OKLCHoklch(29.12% 0.086 336.9)
XYZxyz(3.5501, 2.1941, 4.3733)
Luminance0.0219 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45173B #174521
analogous
#381745 #45173B #451724
triadic
#45173B #3B4517 #173B45
tetradic
#45173B #453817 #174521 #172445
square
#45173B #453817 #174521 #172445
split-complementary
#45173B #244517 #174538
monochromatic
#170814 #170814 #45173B #732662 #A13689

Accessibility & contrast

On white

14.60
#45173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#45173B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45173B
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45173B#FFFFFF#000000##FFFFFF
##45173B1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18243C
Deuteranopia (green-blind)
#262B3A
Tritanopia (blue-blind)
#491926
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #45173b;
/* rgb */ color: rgb(69, 23, 59);
/* oklch */ color: oklch(29.1% 0.086 336.9);
Tailwind
colors: {
  custom: {
    50: '#7a5771',
    500: '#45173b',
    950: '#000000',
  },
}
SCSS
$custom: #45173b;
$custom-light: #7a5771;
$custom-dark: #000000;
JSON
{
  "hex": "#45173b",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 313.043,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2912,
    "c": 0.08642,
    "h": 336.9
  },
  "luminance": 0.02194
}

Semantic roles & 50–950 ramp

primary
#45173B
secondary
#3C7C4A
accent
#DA6D4E
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#090307
muted
#7B787A

Preview Lab

Preview with #45173B

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

Preview Lab → · Contrast checker → · Palette generator →

#45173B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva