#D581B2#D581B2

#D581B2 is a light, moderate pink. Relative luminance 0.331; OKLCH L 70.7% C 0.120 H 344.7°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#D581B2
RGBrgb(213, 129, 178)
HSLhsl(325, 50%, 67%)
HSVhsv(325, 39%, 84%)
CMYKcmyk(0%, 39.4%, 16.4%, 16.5%)
CIE-LABlab(64.21, 39.06, -12.00)
CIE-LCHlch(64.21, 40.87, 342.92°)
OKLaboklab(70.69% 0.1155 -0.0316)
OKLCHoklch(70.69% 0.12 344.7)
XYZxyz(43.3272, 33.0637, 46.2107)
Luminance0.3306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581B2 #81D5A4
analogous
#CE81D5 #D581B2 #D58188
triadic
#D581B2 #B2D581 #81B2D5
tetradic
#D581B2 #D5CE81 #81D5A4 #8188D5
square
#D581B2 #D5CE81 #81D5A4 #8188D5
split-complementary
#D581B2 #88D581 #81D5CE
monochromatic
#A53777 #C65396 #D581B2 #E4AFCE #F4DDEA

Accessibility & contrast

On white

2.76
#D581B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#D581B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581B2
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581B2#FFFFFF#000000##000000
##D581B21.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8793B4
Deuteranopia (green-blind)
#9CA1B0
Tritanopia (blue-blind)
#DF8193
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d581b2;
/* rgb */ color: rgb(213, 129, 178);
/* oklch */ color: oklch(70.7% 0.120 344.7);
Tailwind
colors: {
  custom: {
    50: '#e3a7c9',
    500: '#d581b2',
    950: '#000000',
  },
}
SCSS
$custom: #d581b2;
$custom-light: #e3a7c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d581b2",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 178
  },
  "hsl": {
    "h": 325,
    "s": 50,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70692,
    "c": 0.11975,
    "h": 344.7
  },
  "luminance": 0.33061
}

Semantic roles & 50–950 ramp

primary
#D581B2
secondary
#CCE6D7
accent
#BD6628
background
#FEFAFC
surface
#FCF4F8
border
#D5CED1
text
#160F13
muted
#847F82

Preview Lab

Preview with #D581B2

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

Preview Lab → · Contrast checker → · Palette generator →

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