#D2508A#D2508A

#D2508A is a mid, vivid pink. Relative luminance 0.213; OKLCH L 62.0% C 0.173 H 355.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#D2508A
RGBrgb(210, 80, 138)
HSLhsl(333, 59%, 57%)
HSVhsv(333, 62%, 82%)
CMYKcmyk(0%, 61.9%, 34.3%, 17.6%)
CIE-LABlab(53.25, 56.56, -5.24)
CIE-LCHlch(53.25, 56.80, 354.71°)
OKLaboklab(61.97% 0.1726 -0.0131)
OKLCHoklch(61.97% 0.173 355.7)
XYZxyz(34.0363, 21.2776, 26.3544)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2508A #50D298
analogous
#D250CB #D2508A #D25750
triadic
#D2508A #8AD250 #508AD2
tetradic
#D2508A #CBD250 #50D298 #5750D2
square
#D2508A #CBD250 #50D298 #5750D2
split-complementary
#D2508A #50D257 #50CBD2
monochromatic
#85224E #B62F6B #D2508A #DF81AB #EBB1CB

Accessibility & contrast

On white

4.00
#D2508A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#D2508A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2508A
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2508A#FFFFFF#000000##000000
##D2508A1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#65708C
Deuteranopia (green-blind)
#888887
Tritanopia (blue-blind)
#E24667
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d2508a;
/* rgb */ color: rgb(210, 80, 138);
/* oklch */ color: oklch(62.0% 0.173 355.7);
Tailwind
colors: {
  custom: {
    50: '#e488ac',
    500: '#d2508a',
    950: '#000000',
  },
}
SCSS
$custom: #d2508a;
$custom-light: #e488ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d2508a",
  "rgb": {
    "r": 210,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 333.231,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61966,
    "c": 0.17311,
    "h": 355.7
  },
  "luminance": 0.21274
}

Semantic roles & 50–950 ramp

primary
#D2508A
secondary
#A4D9C2
accent
#E29C46
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D2508A

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

Preview Lab → · Contrast checker → · Palette generator →

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