#D252A3#D252A3

#D252A3 is a light, vivid pink. Relative luminance 0.224; OKLCH L 63.1% C 0.183 H 344.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#D252A3
RGBrgb(210, 82, 163)
HSLhsl(322, 59%, 57%)
HSVhsv(322, 61%, 82%)
CMYKcmyk(0%, 61%, 22.4%, 17.6%)
CIE-LABlab(54.43, 58.87, -18.20)
CIE-LCHlch(54.43, 61.62, 342.82°)
OKLaboklab(63.12% 0.1768 -0.0483)
OKLCHoklch(63.12% 0.183 344.7)
XYZxyz(36.2076, 22.3839, 37.0569)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252A3 #52D281
analogous
#C152D2 #D252A3 #D25263
triadic
#D252A3 #A3D252 #52A3D2
tetradic
#D252A3 #D2C152 #52D281 #5263D2
square
#D252A3 #D2C152 #52D281 #5263D2
split-complementary
#D252A3 #63D252 #52D2C1
monochromatic
#872362 #B73085 #D252A3 #DF83BD #EBB3D7

Accessibility & contrast

On white

3.83
#D252A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#D252A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252A3
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252A3#FFFFFF#000000##000000
##D252A31.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E75A5
Deuteranopia (green-blind)
#838AA0
Tritanopia (blue-blind)
#DF5173
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d252a3;
/* rgb */ color: rgb(210, 82, 163);
/* oklch */ color: oklch(63.1% 0.183 344.7);
Tailwind
colors: {
  custom: {
    50: '#e38abe',
    500: '#d252a3',
    950: '#000000',
  },
}
SCSS
$custom: #d252a3;
$custom-light: #e38abe;
$custom-dark: #000000;
JSON
{
  "hex": "#d252a3",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 163
  },
  "hsl": {
    "h": 322.031,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63122,
    "c": 0.18332,
    "h": 344.7
  },
  "luminance": 0.22381
}

Semantic roles & 50–950 ramp

primary
#D252A3
secondary
#A6DAB9
accent
#E27F46
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D252A3

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

Preview Lab → · Contrast checker → · Palette generator →

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