#D045BC#D045BC

#D045BC is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.6% C 0.216 H 334.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#D045BC
RGBrgb(208, 69, 188)
HSLhsl(309, 60%, 54%)
HSVhsv(309, 67%, 82%)
CMYKcmyk(0%, 66.8%, 9.6%, 18.4%)
CIE-LABlab(53.28, 67.19, -34.57)
CIE-LCHlch(53.28, 75.56, 332.78°)
OKLaboklab(62.56% 0.1948 -0.0945)
OKLCHoklch(62.56% 0.216 334.1)
XYZxyz(37.2179, 21.3000, 49.7183)
Luminance0.2130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045BC #45D059
analogous
#9F45D0 #D045BC #D04577
triadic
#D045BC #BCD045 #45BCD0
tetradic
#D045BC #D09F45 #45D059 #4577D0
square
#D045BC #D09F45 #45D059 #4577D0
split-complementary
#D045BC #77D045 #45D09F
monochromatic
#7B1F6E #AC2C9A #D045BC #DC76CE #E9A7DF

Accessibility & contrast

On white

3.99
#D045BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#D045BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045BC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045BC#FFFFFF#000000##000000
##D045BC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4372BF
Deuteranopia (green-blind)
#7287B9
Tritanopia (blue-blind)
#D9507B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d045bc;
/* rgb */ color: rgb(208, 69, 188);
/* oklch */ color: oklch(62.6% 0.216 334.1);
Tailwind
colors: {
  custom: {
    50: '#e283d0',
    500: '#d045bc',
    950: '#000000',
  },
}
SCSS
$custom: #d045bc;
$custom-light: #e283d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d045bc",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 308.633,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6256,
    "c": 0.21649,
    "h": 334.1
  },
  "luminance": 0.21297
}

Semantic roles & 50–950 ramp

primary
#D045BC
secondary
#9BD6A3
accent
#E35C45
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D045BC

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

Preview Lab → · Contrast checker → · Palette generator →

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