#D045A5#D045A5

#D045A5 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.5% C 0.201 H 342.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D045A5
RGBrgb(208, 69, 165)
HSLhsl(319, 60%, 54%)
HSVhsv(319, 67%, 82%)
CMYKcmyk(0%, 66.8%, 20.7%, 18.4%)
CIE-LABlab(52.27, 63.88, -22.71)
CIE-LCHlch(52.27, 67.80, 340.43°)
OKLaboklab(61.5% 0.1914 -0.0608)
OKLCHoklch(61.5% 0.201 342.4)
XYZxyz(34.9331, 20.3861, 37.6852)
Luminance0.2038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045A5 #45D070
analogous
#B645D0 #D045A5 #D04560
triadic
#D045A5 #A5D045 #45A5D0
tetradic
#D045A5 #D0B645 #45D070 #4560D0
square
#D045A5 #D0B645 #45D070 #4560D0
split-complementary
#D045A5 #60D045 #45D0B6
monochromatic
#7B1F5F #AC2C84 #D045A5 #DC76BD #E9A7D4

Accessibility & contrast

On white

4.14
#D045A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D045A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045A5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045A5#FFFFFF#000000##000000
##D045A51.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#516EA8
Deuteranopia (green-blind)
#7B85A2
Tritanopia (blue-blind)
#DD466F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d045a5;
/* rgb */ color: rgb(208, 69, 165);
/* oklch */ color: oklch(61.5% 0.201 342.4);
Tailwind
colors: {
  custom: {
    50: '#e283c0',
    500: '#d045a5',
    950: '#000000',
  },
}
SCSS
$custom: #d045a5;
$custom-light: #e283c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d045a5",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 318.561,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.615,
    "c": 0.20081,
    "h": 342.4
  },
  "luminance": 0.20383
}

Semantic roles & 50–950 ramp

primary
#D045A5
secondary
#9BD6AD
accent
#E37645
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D045A5

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

Preview Lab → · Contrast checker → · Palette generator →

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