#D045A1#D045A1

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

Color values

HEX#D045A1
RGBrgb(208, 69, 161)
HSLhsl(320, 60%, 54%)
HSVhsv(320, 67%, 82%)
CMYKcmyk(0%, 66.8%, 22.6%, 18.4%)
CIE-LABlab(52.11, 63.34, -20.60)
CIE-LCHlch(52.11, 66.61, 341.98°)
OKLaboklab(61.33% 0.1906 -0.0549)
OKLCHoklch(61.33% 0.198 343.9)
XYZxyz(34.5748, 20.2428, 35.7977)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045A1 #45D074
analogous
#BA45D0 #D045A1 #D0455C
triadic
#D045A1 #A1D045 #45A1D0
tetradic
#D045A1 #D0BA45 #45D074 #455CD0
square
#D045A1 #D0BA45 #45D074 #455CD0
split-complementary
#D045A1 #5CD045 #45D0BA
monochromatic
#7B1F5C #AC2C81 #D045A1 #DC76BA #E9A7D2

Accessibility & contrast

On white

4.16
#D045A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#D045A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045A1
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045A1#FFFFFF#000000##000000
##D045A11.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#536DA4
Deuteranopia (green-blind)
#7C859E
Tritanopia (blue-blind)
#DD446D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d045a1;
/* rgb */ color: rgb(208, 69, 161);
/* oklch */ color: oklch(61.3% 0.198 343.9);
Tailwind
colors: {
  custom: {
    50: '#e282bd',
    500: '#d045a1',
    950: '#000000',
  },
}
SCSS
$custom: #d045a1;
$custom-light: #e282bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d045a1",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 161
  },
  "hsl": {
    "h": 320.288,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6133,
    "c": 0.19834,
    "h": 343.9
  },
  "luminance": 0.20239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D045A1

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

Preview Lab → · Contrast checker → · Palette generator →

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