#D045AB#D045AB

#D045AB is a mid, highly saturated pink. Relative luminance 0.206; OKLCH L 61.8% C 0.205 H 340.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#D045AB
RGBrgb(208, 69, 171)
HSLhsl(316, 60%, 54%)
HSVhsv(316, 67%, 82%)
CMYKcmyk(0%, 66.8%, 17.8%, 18.4%)
CIE-LABlab(52.52, 64.71, -25.85)
CIE-LCHlch(52.52, 69.68, 338.23°)
OKLaboklab(61.76% 0.1925 -0.0696)
OKLCHoklch(61.76% 0.205 340.1)
XYZxyz(35.4921, 20.6097, 40.6290)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045AB #45D06A
analogous
#B045D0 #D045AB #D04566
triadic
#D045AB #ABD045 #45ABD0
tetradic
#D045AB #D0B045 #45D06A #4566D0
square
#D045AB #D0B045 #45D06A #4566D0
split-complementary
#D045AB #66D045 #45D0B0
monochromatic
#7B1F63 #AC2C8A #D045AB #DC76C1 #E9A7D7

Accessibility & contrast

On white

4.10
#D045AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#D045AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045AB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045AB#FFFFFF#000000##000000
##D045AB1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAE
Deuteranopia (green-blind)
#7985A8
Tritanopia (blue-blind)
#DC4972
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d045ab;
/* rgb */ color: rgb(208, 69, 171);
/* oklch */ color: oklch(61.8% 0.205 340.1);
Tailwind
colors: {
  custom: {
    50: '#e283c4',
    500: '#d045ab',
    950: '#000000',
  },
}
SCSS
$custom: #d045ab;
$custom-light: #e283c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d045ab",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 315.971,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61763,
    "c": 0.20468,
    "h": 340.1
  },
  "luminance": 0.20606
}

Semantic roles & 50–950 ramp

primary
#D045AB
secondary
#9BD6AB
accent
#E36F45
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D045AB

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

Preview Lab → · Contrast checker → · Palette generator →

#D045AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva