#D45EA7#D45EA7

#D45EA7 is a light, vivid pink. Relative luminance 0.248; OKLCH L 65.0% C 0.170 H 344.8°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#D45EA7
RGBrgb(212, 94, 167)
HSLhsl(323, 58%, 60%)
HSVhsv(323, 56%, 83%)
CMYKcmyk(0%, 55.7%, 21.2%, 16.9%)
CIE-LABlab(56.88, 54.64, -16.79)
CIE-LCHlch(56.88, 57.16, 342.92°)
OKLaboklab(65.04% 0.1636 -0.0445)
OKLCHoklch(65.04% 0.17 344.8)
XYZxyz(38.1302, 24.7958, 39.3296)
Luminance0.2479 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45EA7 #5ED48B
analogous
#C65ED4 #D45EA7 #D45E6C
triadic
#D45EA7 #A7D45E #5EA7D4
tetradic
#D45EA7 #D4C65E #5ED48B #5E6CD4
square
#D45EA7 #D4C65E #5ED48B #5E6CD4
split-complementary
#D45EA7 #6CD45E #5ED4C6
monochromatic
#912768 #C1348B #D45EA7 #E18EC1 #EEBFDC

Accessibility & contrast

On white

3.52
#D45EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#D45EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45EA7
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45EA7#FFFFFF#000000##000000
##D45EA71.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#687CA9
Deuteranopia (green-blind)
#8990A4
Tritanopia (blue-blind)
#E05D7B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d45ea7;
/* rgb */ color: rgb(212, 94, 167);
/* oklch */ color: oklch(65.0% 0.170 344.8);
Tailwind
colors: {
  custom: {
    50: '#e491c1',
    500: '#d45ea7',
    950: '#000000',
  },
}
SCSS
$custom: #d45ea7;
$custom-light: #e491c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d45ea7",
  "rgb": {
    "r": 212,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 322.881,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.65038,
    "c": 0.16951,
    "h": 344.8
  },
  "luminance": 0.24792
}

Semantic roles & 50–950 ramp

primary
#D45EA7
secondary
#B0DEC2
accent
#E18247
background
#FEF9FB
surface
#FDF1F7
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #D45EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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