#D131D2#D131D2

#D131D2 is a light, highly saturated purple. Relative luminance 0.204; OKLCH L 62.3% C 0.254 H 327.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D131D2
RGBrgb(209, 49, 210)
HSLhsl(300, 64%, 51%)
HSVhsv(300, 77%, 82%)
CMYKcmyk(0.5%, 76.7%, 0%, 17.6%)
CIE-LABlab(52.30, 77.25, -48.77)
CIE-LCHlch(52.30, 91.36, 327.74°)
OKLaboklab(62.25% 0.2152 -0.1353)
OKLCHoklch(62.25% 0.254 327.8)
XYZxyz(39.0252, 20.4080, 62.8440)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D131D2 #32D231
analogous
#8031D2 #D131D2 #D23183
triadic
#D131D2 #D2D131 #31D2D1
tetradic
#D131D2 #D28031 #32D231 #3183D2
square
#D131D2 #D28031 #32D231 #3183D2
split-complementary
#D131D2 #83D231 #31D280
monochromatic
#701870 #A223A2 #D131D2 #DC63DD #E795E8

Accessibility & contrast

On white

4.13
#D131D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D131D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D131D2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D131D2#FFFFFF#000000##000000
##D131D21.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#5F84CE
Tritanopia (blue-blind)
#D74D81
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d131d2;
/* rgb */ color: rgb(209, 49, 210);
/* oklch */ color: oklch(62.3% 0.254 327.8);
Tailwind
colors: {
  custom: {
    50: '#e37ce0',
    500: '#d131d2',
    950: '#000000',
  },
}
SCSS
$custom: #d131d2;
$custom-light: #e37ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#d131d2",
  "rgb": {
    "r": 209,
    "g": 49,
    "b": 210
  },
  "hsl": {
    "h": 299.627,
    "s": 64.143,
    "l": 50.784
  },
  "oklch": {
    "l": 0.6225,
    "c": 0.25419,
    "h": 327.8
  },
  "luminance": 0.20405
}

Semantic roles & 50–950 ramp

primary
#D131D2
secondary
#8CD38C
accent
#E74142
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D131D2

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

Preview Lab → · Contrast checker → · Palette generator →

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