#45173C#45173C

#45173C is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.2% C 0.087 H 335.9°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#45173C
RGBrgb(69, 23, 60)
HSLhsl(312, 50%, 18%)
HSVhsv(312, 67%, 27%)
CMYKcmyk(0%, 66.7%, 13%, 72.9%)
CIE-LABlab(16.53, 27.35, -13.13)
CIE-LCHlch(16.53, 30.34, 334.36°)
OKLaboklab(29.17% 0.0797 -0.0356)
OKLCHoklch(29.17% 0.087 335.9)
XYZxyz(3.5763, 2.2045, 4.5112)
Luminance0.0220 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45173C #174520
analogous
#371745 #45173C #451725
triadic
#45173C #3C4517 #173C45
tetradic
#45173C #453717 #174520 #172545
square
#45173C #453717 #174520 #172545
split-complementary
#45173C #254517 #174537
monochromatic
#170814 #170814 #45173C #732664 #A1368C

Accessibility & contrast

On white

14.58
#45173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45173C
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45173C#FFFFFF#000000##FFFFFF
##45173C1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17243D
Deuteranopia (green-blind)
#252B3B
Tritanopia (blue-blind)
#491927
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #45173c;
/* rgb */ color: rgb(69, 23, 60);
/* oklch */ color: oklch(29.2% 0.087 335.9);
Tailwind
colors: {
  custom: {
    50: '#7a5771',
    500: '#45173c',
    950: '#000000',
  },
}
SCSS
$custom: #45173c;
$custom-light: #7a5771;
$custom-dark: #000000;
JSON
{
  "hex": "#45173c",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 311.739,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29174,
    "c": 0.08733,
    "h": 335.9
  },
  "luminance": 0.02204
}

Semantic roles & 50–950 ramp

primary
#45173C
secondary
#3C7C48
accent
#DA6A4E
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#090307
muted
#7B787A

Preview Lab

Preview with #45173C

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

Preview Lab → · Contrast checker → · Palette generator →

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