#D045B5#D045B5

#D045B5 is a light, highly saturated pink. Relative luminance 0.210; OKLCH L 62.2% C 0.211 H 336.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#D045B5
RGBrgb(208, 69, 181)
HSLhsl(312, 60%, 54%)
HSVhsv(312, 67%, 82%)
CMYKcmyk(0%, 66.8%, 13%, 18.4%)
CIE-LABlab(52.96, 66.15, -31.01)
CIE-LCHlch(52.96, 73.05, 334.88°)
OKLaboklab(62.22% 0.194 -0.0843)
OKLCHoklch(62.22% 0.211 336.5)
XYZxyz(36.4816, 21.0055, 45.8402)
Luminance0.2100 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045B5 #45D060
analogous
#A645D0 #D045B5 #D0456F
triadic
#D045B5 #B5D045 #45B5D0
tetradic
#D045B5 #D0A645 #45D060 #456FD0
square
#D045B5 #D0A645 #45D060 #456FD0
split-complementary
#D045B5 #6FD045 #45D0A6
monochromatic
#7B1F6A #AC2C93 #D045B5 #DC76C8 #E9A7DC

Accessibility & contrast

On white

4.04
#D045B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#D045B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045B5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045B5#FFFFFF#000000##000000
##D045B51.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4871B8
Deuteranopia (green-blind)
#7586B2
Tritanopia (blue-blind)
#DB4D77
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d045b5;
/* rgb */ color: rgb(208, 69, 181);
/* oklch */ color: oklch(62.2% 0.211 336.5);
Tailwind
colors: {
  custom: {
    50: '#e283cb',
    500: '#d045b5',
    950: '#000000',
  },
}
SCSS
$custom: #d045b5;
$custom-light: #e283cb;
$custom-dark: #000000;
JSON
{
  "hex": "#d045b5",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 181
  },
  "hsl": {
    "h": 311.655,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62223,
    "c": 0.21149,
    "h": 336.5
  },
  "luminance": 0.21002
}

Semantic roles & 50–950 ramp

primary
#D045B5
secondary
#9BD6A6
accent
#E36445
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D045B5

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

Preview Lab → · Contrast checker → · Palette generator →

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