#D045AF#D045AF

#D045AF is a mid, highly saturated pink. Relative luminance 0.208; OKLCH L 61.9% C 0.207 H 338.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#D045AF
RGBrgb(208, 69, 175)
HSLhsl(314, 60%, 54%)
HSVhsv(314, 67%, 82%)
CMYKcmyk(0%, 66.8%, 15.9%, 18.4%)
CIE-LABlab(52.69, 65.28, -27.92)
CIE-LCHlch(52.69, 71.00, 336.84°)
OKLaboklab(61.94% 0.1931 -0.0755)
OKLCHoklch(61.94% 0.207 338.6)
XYZxyz(35.8791, 20.7645, 42.6675)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045AF #45D066
analogous
#AC45D0 #D045AF #D04569
triadic
#D045AF #AFD045 #45AFD0
tetradic
#D045AF #D0AC45 #45D066 #4569D0
square
#D045AF #D0AC45 #45D066 #4569D0
split-complementary
#D045AF #69D045 #45D0AC
monochromatic
#7B1F66 #AC2C8E #D045AF #DC76C4 #E9A7D9

Accessibility & contrast

On white

4.08
#D045AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#D045AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045AF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045AF#FFFFFF#000000##000000
##D045AF1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B70B2
Deuteranopia (green-blind)
#7786AC
Tritanopia (blue-blind)
#DB4A74
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d045af;
/* rgb */ color: rgb(208, 69, 175);
/* oklch */ color: oklch(61.9% 0.207 338.6);
Tailwind
colors: {
  custom: {
    50: '#e283c7',
    500: '#d045af',
    950: '#000000',
  },
}
SCSS
$custom: #d045af;
$custom-light: #e283c7;
$custom-dark: #000000;
JSON
{
  "hex": "#d045af",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 314.245,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61944,
    "c": 0.20735,
    "h": 338.6
  },
  "luminance": 0.20761
}

Semantic roles & 50–950 ramp

primary
#D045AF
secondary
#9BD6A9
accent
#E36A45
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D045AF

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

Preview Lab → · Contrast checker → · Palette generator →

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