#D581A2#D581A2

#D581A2 is a light, moderate pink. Relative luminance 0.325; OKLCH L 70.2% C 0.111 H 355.2°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#D581A2
RGBrgb(213, 129, 162)
HSLhsl(336, 50%, 67%)
HSVhsv(336, 39%, 84%)
CMYKcmyk(0%, 39.4%, 23.9%, 16.5%)
CIE-LABlab(63.72, 36.65, -3.66)
CIE-LCHlch(63.72, 36.84, 354.30°)
OKLaboklab(70.16% 0.1102 -0.0092)
OKLCHoklch(70.16% 0.111 355.2)
XYZxyz(41.8134, 32.4582, 38.2382)
Luminance0.3246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581A2 #81D5B4
analogous
#D581CC #D581A2 #D58A81
triadic
#D581A2 #A2D581 #81A2D5
tetradic
#D581A2 #CCD581 #81D5B4 #8A81D5
square
#D581A2 #CCD581 #81D5B4 #8A81D5
split-complementary
#D581A2 #81D58A #81CCD5
monochromatic
#A53762 #C65380 #D581A2 #E4AFC4 #F4DDE6

Accessibility & contrast

On white

2.80
#D581A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#D581A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581A2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581A2#FFFFFF#000000##000000
##D581A21.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B91A3
Deuteranopia (green-blind)
#A0A0A0
Tritanopia (blue-blind)
#E17D8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d581a2;
/* rgb */ color: rgb(213, 129, 162);
/* oklch */ color: oklch(70.2% 0.111 355.2);
Tailwind
colors: {
  custom: {
    50: '#e4a7bd',
    500: '#d581a2',
    950: '#000000',
  },
}
SCSS
$custom: #d581a2;
$custom-light: #e4a7bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d581a2",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 162
  },
  "hsl": {
    "h": 336.429,
    "s": 50,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70156,
    "c": 0.11061,
    "h": 355.2
  },
  "luminance": 0.32455
}

Semantic roles & 50–950 ramp

primary
#D581A2
secondary
#CCE6DC
accent
#BD8328
background
#FEFAFB
surface
#FCF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D581A2

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

Preview Lab → · Contrast checker → · Palette generator →

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