#D252A1#D252A1

#D252A1 is a light, vivid pink. Relative luminance 0.223; OKLCH L 63.0% C 0.182 H 345.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#D252A1
RGBrgb(210, 82, 161)
HSLhsl(323, 59%, 57%)
HSVhsv(323, 61%, 82%)
CMYKcmyk(0%, 61%, 23.3%, 17.6%)
CIE-LABlab(54.36, 58.60, -17.14)
CIE-LCHlch(54.36, 61.06, 343.69°)
OKLaboklab(63.04% 0.1764 -0.0454)
OKLCHoklch(63.04% 0.182 345.6)
XYZxyz(36.0299, 22.3128, 36.1206)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252A1 #52D283
analogous
#C352D2 #D252A1 #D25261
triadic
#D252A1 #A1D252 #52A1D2
tetradic
#D252A1 #D2C352 #52D283 #5261D2
square
#D252A1 #D2C352 #52D283 #5261D2
split-complementary
#D252A1 #61D252 #52D2C3
monochromatic
#872360 #B73083 #D252A1 #DF83BB #EBB3D6

Accessibility & contrast

On white

3.84
#D252A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#D252A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252A1
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252A1#FFFFFF#000000##000000
##D252A11.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F74A3
Deuteranopia (green-blind)
#838A9E
Tritanopia (blue-blind)
#DF5072
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d252a1;
/* rgb */ color: rgb(210, 82, 161);
/* oklch */ color: oklch(63.0% 0.182 345.6);
Tailwind
colors: {
  custom: {
    50: '#e389bd',
    500: '#d252a1',
    950: '#000000',
  },
}
SCSS
$custom: #d252a1;
$custom-light: #e389bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d252a1",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 161
  },
  "hsl": {
    "h": 322.969,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63043,
    "c": 0.1821,
    "h": 345.6
  },
  "luminance": 0.22309
}

Semantic roles & 50–950 ramp

primary
#D252A1
secondary
#A6DABA
accent
#E28246
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D252A1

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

Preview Lab → · Contrast checker → · Palette generator →

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