#45172A#45172A

#45172A is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.3% C 0.074 H 357.2°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#45172A
RGBrgb(69, 23, 42)
HSLhsl(335, 50%, 18%)
HSVhsv(335, 67%, 27%)
CMYKcmyk(0%, 66.7%, 39.1%, 72.9%)
CIE-LABlab(15.72, 24.35, -1.52)
CIE-LCHlch(15.72, 24.40, 356.44°)
OKLaboklab(28.32% 0.0742 -0.0037)
OKLCHoklch(28.32% 0.074 357.2)
XYZxyz(3.1787, 2.0455, 2.4175)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45172A #174532
analogous
#451741 #45172A #451B17
triadic
#45172A #2A4517 #172A45
tetradic
#45172A #414517 #174532 #1B1745
square
#45172A #414517 #174532 #1B1745
split-complementary
#45172A #17451B #174145
monochromatic
#17080E #17080E #45172A #732646 #A13662

Accessibility & contrast

On white

14.90
#45172A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#45172A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45172A
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45172A#FFFFFF#000000##FFFFFF
##45172A1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E222B
Deuteranopia (green-blind)
#2B2A29
Tritanopia (blue-blind)
#4B131E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #45172a;
/* rgb */ color: rgb(69, 23, 42);
/* oklch */ color: oklch(28.3% 0.074 357.2);
Tailwind
colors: {
  custom: {
    50: '#7b5763',
    500: '#45172a',
    950: '#000000',
  },
}
SCSS
$custom: #45172a;
$custom-light: #7b5763;
$custom-dark: #000000;
JSON
{
  "hex": "#45172a",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 42
  },
  "hsl": {
    "h": 335.217,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28319,
    "c": 0.07433,
    "h": 357.2
  },
  "luminance": 0.02045
}

Semantic roles & 50–950 ramp

primary
#45172A
secondary
#3C7C61
accent
#DAA04E
background
#F7F5F5
surface
#EEE9EA
border
#C9C5C6
text
#0A0305
muted
#7C7879

Preview Lab

Preview with #45172A

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

Preview Lab → · Contrast checker → · Palette generator →

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