#45173A#45173A

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

Color values

HEX#45173A
RGBrgb(69, 23, 58)
HSLhsl(314, 50%, 18%)
HSVhsv(314, 67%, 27%)
CMYKcmyk(0%, 66.7%, 15.9%, 72.9%)
CIE-LABlab(16.42, 26.97, -11.88)
CIE-LCHlch(16.42, 29.47, 336.24°)
OKLaboklab(29.07% 0.0793 -0.0321)
OKLCHoklch(29.07% 0.086 338)
XYZxyz(3.5244, 2.1838, 4.2381)
Luminance0.0218 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45173A #174522
analogous
#391745 #45173A #451723
triadic
#45173A #3A4517 #173A45
tetradic
#45173A #453917 #174522 #172345
square
#45173A #453917 #174522 #172345
split-complementary
#45173A #234517 #174539
monochromatic
#170813 #170813 #45173A #732661 #A13687

Accessibility & contrast

On white

14.62
#45173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45173A
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45173A#FFFFFF#000000##FFFFFF
##45173A1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #45173a;
/* rgb */ color: rgb(69, 23, 58);
/* oklch */ color: oklch(29.1% 0.086 338.0);
Tailwind
colors: {
  custom: {
    50: '#7a5770',
    500: '#45173a',
    950: '#000000',
  },
}
SCSS
$custom: #45173a;
$custom-light: #7a5770;
$custom-dark: #000000;
JSON
{
  "hex": "#45173a",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 314.348,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29066,
    "c": 0.08554,
    "h": 338
  },
  "luminance": 0.02183
}

Semantic roles & 50–950 ramp

primary
#45173A
secondary
#3C7C4B
accent
#DA704E
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#090307
muted
#7B787A

Preview Lab

Preview with #45173A

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

Preview Lab → · Contrast checker → · Palette generator →

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