#D252B2#D252B2

#D252B2 is a light, vivid pink. Relative luminance 0.230; OKLCH L 63.8% C 0.193 H 338.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#D252B2
RGBrgb(210, 82, 178)
HSLhsl(315, 59%, 57%)
HSVhsv(315, 61%, 82%)
CMYKcmyk(0%, 61%, 15.2%, 17.6%)
CIE-LABlab(55.02, 61.01, -26.03)
CIE-LCHlch(55.02, 66.33, 336.89°)
OKLaboklab(63.75% 0.18 -0.0702)
OKLCHoklch(63.75% 0.193 338.7)
XYZxyz(37.6322, 22.9538, 44.5594)
Luminance0.2295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252B2 #52D272
analogous
#B252D2 #D252B2 #D25272
triadic
#D252B2 #B2D252 #52B2D2
tetradic
#D252B2 #D2B252 #52D272 #5272D2
square
#D252B2 #D2B252 #52D272 #5272D2
split-complementary
#D252B2 #72D252 #52D2B2
monochromatic
#87236E #B73095 #D252B2 #DF83C8 #EBB3DD

Accessibility & contrast

On white

3.76
#D252B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#D252B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252B2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252B2#FFFFFF#000000##000000
##D252B21.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5777B5
Deuteranopia (green-blind)
#7E8BAF
Tritanopia (blue-blind)
#DD567B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d252b2;
/* rgb */ color: rgb(210, 82, 178);
/* oklch */ color: oklch(63.8% 0.193 338.7);
Tailwind
colors: {
  custom: {
    50: '#e38ac9',
    500: '#d252b2',
    950: '#000000',
  },
}
SCSS
$custom: #d252b2;
$custom-light: #e38ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#d252b2",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 315,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63752,
    "c": 0.19321,
    "h": 338.7
  },
  "luminance": 0.22951
}

Semantic roles & 50–950 ramp

primary
#D252B2
secondary
#A6DAB3
accent
#E26D46
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D252B2

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

Preview Lab → · Contrast checker → · Palette generator →

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