#D045A0#D045A0

#D045A0 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.3% C 0.198 H 344.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#D045A0
RGBrgb(208, 69, 160)
HSLhsl(321, 60%, 54%)
HSVhsv(321, 67%, 82%)
CMYKcmyk(0%, 66.8%, 23.1%, 18.4%)
CIE-LABlab(52.07, 63.21, -20.08)
CIE-LCHlch(52.07, 66.32, 342.38°)
OKLaboklab(61.29% 0.1904 -0.0534)
OKLCHoklch(61.29% 0.198 344.3)
XYZxyz(34.4869, 20.2076, 35.3351)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045A0 #45D075
analogous
#BA45D0 #D045A0 #D0455B
triadic
#D045A0 #A0D045 #45A0D0
tetradic
#D045A0 #D0BA45 #45D075 #455BD0
square
#D045A0 #D0BA45 #45D075 #455BD0
split-complementary
#D045A0 #5BD045 #45D0BA
monochromatic
#7B1F5C #AC2C80 #D045A0 #DC76B9 #E9A7D2

Accessibility & contrast

On white

4.17
#D045A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#D045A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045A0
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045A0#FFFFFF#000000##000000
##D045A01.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#536DA3
Deuteranopia (green-blind)
#7C859D
Tritanopia (blue-blind)
#DD446C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d045a0;
/* rgb */ color: rgb(208, 69, 160);
/* oklch */ color: oklch(61.3% 0.198 344.3);
Tailwind
colors: {
  custom: {
    50: '#e282bc',
    500: '#d045a0',
    950: '#000000',
  },
}
SCSS
$custom: #d045a0;
$custom-light: #e282bc;
$custom-dark: #000000;
JSON
{
  "hex": "#d045a0",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 160
  },
  "hsl": {
    "h": 320.719,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61288,
    "c": 0.19773,
    "h": 344.3
  },
  "luminance": 0.20204
}

Semantic roles & 50–950 ramp

primary
#D045A0
secondary
#9BD6AF
accent
#E37B45
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D045A0

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

Preview Lab → · Contrast checker → · Palette generator →

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