#D152AF#D152AF

#D152AF is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.5% C 0.190 H 339.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#D152AF
RGBrgb(209, 82, 175)
HSLhsl(316, 58%, 57%)
HSVhsv(316, 61%, 82%)
CMYKcmyk(0%, 60.8%, 16.3%, 18%)
CIE-LABlab(54.75, 60.29, -24.73)
CIE-LCHlch(54.75, 65.17, 337.70°)
OKLaboklab(63.48% 0.1784 -0.0666)
OKLCHoklch(63.48% 0.19 339.5)
XYZxyz(37.0504, 22.6882, 42.9771)
Luminance0.2268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152AF #52D174
analogous
#B452D1 #D152AF #D15270
triadic
#D152AF #AFD152 #52AFD1
tetradic
#D152AF #D1B452 #52D174 #5270D1
square
#D152AF #D1B452 #52D174 #5270D1
split-complementary
#D152AF #70D152 #52D1B4
monochromatic
#85236B #B63092 #D152AF #DE82C5 #EBB3DC

Accessibility & contrast

On white

3.79
#D152AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#D152AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152AF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152AF#FFFFFF#000000##000000
##D152AF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5876B2
Deuteranopia (green-blind)
#7E8AAC
Tritanopia (blue-blind)
#DC5579
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d152af;
/* rgb */ color: rgb(209, 82, 175);
/* oklch */ color: oklch(63.5% 0.190 339.5);
Tailwind
colors: {
  custom: {
    50: '#e28ac7',
    500: '#d152af',
    950: '#000000',
  },
}
SCSS
$custom: #d152af;
$custom-light: #e28ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#d152af",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 316.063,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6348,
    "c": 0.19042,
    "h": 339.5
  },
  "luminance": 0.22685
}

Semantic roles & 50–950 ramp

primary
#D152AF
secondary
#A6D9B3
accent
#E17047
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D152AF

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

Preview Lab → · Contrast checker → · Palette generator →

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