#D045A2#D045A2

#D045A2 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.4% C 0.199 H 343.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#D045A2
RGBrgb(208, 69, 162)
HSLhsl(320, 60%, 54%)
HSVhsv(320, 67%, 82%)
CMYKcmyk(0%, 66.8%, 22.1%, 18.4%)
CIE-LABlab(52.15, 63.48, -21.13)
CIE-LCHlch(52.15, 66.90, 341.59°)
OKLaboklab(61.37% 0.1908 -0.0564)
OKLCHoklch(61.37% 0.199 343.5)
XYZxyz(34.6633, 20.2782, 36.2640)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045A2 #45D073
analogous
#B945D0 #D045A2 #D0455D
triadic
#D045A2 #A2D045 #45A2D0
tetradic
#D045A2 #D0B945 #45D073 #455DD0
square
#D045A2 #D0B945 #45D073 #455DD0
split-complementary
#D045A2 #5DD045 #45D0B9
monochromatic
#7B1F5D #AC2C82 #D045A2 #DC76BA #E9A7D3

Accessibility & contrast

On white

4.15
#D045A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#D045A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045A2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045A2#FFFFFF#000000##000000
##D045A21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#526EA5
Deuteranopia (green-blind)
#7C859F
Tritanopia (blue-blind)
#DD456D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d045a2;
/* rgb */ color: rgb(208, 69, 162);
/* oklch */ color: oklch(61.4% 0.199 343.5);
Tailwind
colors: {
  custom: {
    50: '#e282bd',
    500: '#d045a2',
    950: '#000000',
  },
}
SCSS
$custom: #d045a2;
$custom-light: #e282bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d045a2",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 319.856,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61372,
    "c": 0.19895,
    "h": 343.5
  },
  "luminance": 0.20275
}

Semantic roles & 50–950 ramp

primary
#D045A2
secondary
#9BD6AE
accent
#E37945
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D045A2

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

Preview Lab → · Contrast checker → · Palette generator →

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