#D581C2#D581C2

#D581C2 is a light, vivid pink. Relative luminance 0.337; OKLCH L 71.3% C 0.132 H 335.7°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#D581C2
RGBrgb(213, 129, 194)
HSLhsl(314, 50%, 67%)
HSVhsv(314, 39%, 84%)
CMYKcmyk(0%, 39.4%, 8.9%, 16.5%)
CIE-LABlab(64.76, 41.68, -20.21)
CIE-LCHlch(64.76, 46.32, 334.14°)
OKLaboklab(71.29% 0.1202 -0.0543)
OKLCHoklch(71.29% 0.132 335.7)
XYZxyz(45.0283, 33.7441, 55.1700)
Luminance0.3374 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581C2 #81D594
analogous
#BE81D5 #D581C2 #D58198
triadic
#D581C2 #C2D581 #81C2D5
tetradic
#D581C2 #D5BE81 #81D594 #8198D5
square
#D581C2 #D5BE81 #81D594 #8198D5
split-complementary
#D581C2 #98D581 #81D5BE
monochromatic
#A5378C #C653AC #D581C2 #E4AFD8 #F4DDEE

Accessibility & contrast

On white

2.71
#D581C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#D581C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581C2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581C2#FFFFFF#000000##000000
##D581C21.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8295C4
Deuteranopia (green-blind)
#97A2C0
Tritanopia (blue-blind)
#DD8499
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d581c2;
/* rgb */ color: rgb(213, 129, 194);
/* oklch */ color: oklch(71.3% 0.132 335.7);
Tailwind
colors: {
  custom: {
    50: '#e3a7d4',
    500: '#d581c2',
    950: '#000000',
  },
}
SCSS
$custom: #d581c2;
$custom-light: #e3a7d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d581c2",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 194
  },
  "hsl": {
    "h": 313.571,
    "s": 50,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71285,
    "c": 0.13184,
    "h": 335.7
  },
  "luminance": 0.33742
}

Semantic roles & 50–950 ramp

primary
#D581C2
secondary
#CCE6D2
accent
#BD4A28
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#161014
muted
#847F83

Preview Lab

Preview with #D581C2

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

Preview Lab → · Contrast checker → · Palette generator →

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