#D252A6#D252A6

#D252A6 is a light, vivid pink. Relative luminance 0.225; OKLCH L 63.2% C 0.185 H 343.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#D252A6
RGBrgb(210, 82, 166)
HSLhsl(321, 59%, 57%)
HSVhsv(321, 61%, 82%)
CMYKcmyk(0%, 61%, 21%, 17.6%)
CIE-LABlab(54.55, 59.29, -19.78)
CIE-LCHlch(54.55, 62.50, 341.55°)
OKLaboklab(63.24% 0.1775 -0.0527)
OKLCHoklch(63.24% 0.185 343.5)
XYZxyz(36.4796, 22.4927, 38.4893)
Luminance0.2249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252A6 #52D27E
analogous
#BE52D2 #D252A6 #D25266
triadic
#D252A6 #A6D252 #52A6D2
tetradic
#D252A6 #D2BE52 #52D27E #5266D2
square
#D252A6 #D2BE52 #52D27E #5266D2
split-complementary
#D252A6 #66D252 #52D2BE
monochromatic
#872364 #B73089 #D252A6 #DF83BF #EBB3D8

Accessibility & contrast

On white

3.82
#D252A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#D252A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252A6
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252A6#FFFFFF#000000##000000
##D252A61.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D75A9
Deuteranopia (green-blind)
#828AA3
Tritanopia (blue-blind)
#DF5275
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d252a6;
/* rgb */ color: rgb(210, 82, 166);
/* oklch */ color: oklch(63.2% 0.185 343.5);
Tailwind
colors: {
  custom: {
    50: '#e38ac0',
    500: '#d252a6',
    950: '#000000',
  },
}
SCSS
$custom: #d252a6;
$custom-light: #e38ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#d252a6",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 166
  },
  "hsl": {
    "h": 320.625,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63244,
    "c": 0.18519,
    "h": 343.5
  },
  "luminance": 0.22489
}

Semantic roles & 50–950 ramp

primary
#D252A6
secondary
#A6DAB8
accent
#E27C46
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D252A6

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

Preview Lab → · Contrast checker → · Palette generator →

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