#D252A2#D252A2

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

Color values

HEX#D252A2
RGBrgb(210, 82, 162)
HSLhsl(323, 59%, 57%)
HSVhsv(323, 61%, 82%)
CMYKcmyk(0%, 61%, 22.9%, 17.6%)
CIE-LABlab(54.39, 58.73, -17.67)
CIE-LCHlch(54.39, 61.34, 343.25°)
OKLaboklab(63.08% 0.1766 -0.0469)
OKLCHoklch(63.08% 0.183 345.1)
XYZxyz(36.1184, 22.3483, 36.5869)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252A2 #52D282
analogous
#C252D2 #D252A2 #D25262
triadic
#D252A2 #A2D252 #52A2D2
tetradic
#D252A2 #D2C252 #52D282 #5262D2
square
#D252A2 #D2C252 #52D282 #5262D2
split-complementary
#D252A2 #62D252 #52D2C2
monochromatic
#872361 #B73084 #D252A2 #DF83BC #EBB3D6

Accessibility & contrast

On white

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

On black

5.47
#D252A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252A2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252A2#FFFFFF#000000##000000
##D252A21.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d252a2;
/* rgb */ color: rgb(210, 82, 162);
/* oklch */ color: oklch(63.1% 0.183 345.1);
Tailwind
colors: {
  custom: {
    50: '#e389bd',
    500: '#d252a2',
    950: '#000000',
  },
}
SCSS
$custom: #d252a2;
$custom-light: #e389bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d252a2",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 322.5,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63082,
    "c": 0.1827,
    "h": 345.1
  },
  "luminance": 0.22345
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D252A2

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

Preview Lab → · Contrast checker → · Palette generator →

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