#D431B0#D431B0

#D431B0 is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 60.9% C 0.233 H 338.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#D431B0
RGBrgb(212, 49, 176)
HSLhsl(313, 65%, 51%)
HSVhsv(313, 77%, 83%)
CMYKcmyk(0%, 76.9%, 17%, 16.9%)
CIE-LABlab(51.07, 72.95, -30.97)
CIE-LCHlch(51.07, 79.25, 336.99°)
OKLaboklab(60.91% 0.2168 -0.084)
OKLCHoklch(60.91% 0.233 338.8)
XYZxyz(36.0871, 19.3318, 42.8968)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D431B0 #31D455
analogous
#A731D4 #D431B0 #D4315E
triadic
#D431B0 #B0D431 #31B0D4
tetradic
#D431B0 #D4A731 #31D455 #315ED4
square
#D431B0 #D4A731 #31D455 #315ED4
split-complementary
#D431B0 #5ED431 #31D4A7
monochromatic
#73185F #A52388 #D431B0 #DF64C3 #E996D7

Accessibility & contrast

On white

4.32
#D431B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#D431B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D431B0
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D431B0#FFFFFF#000000##000000
##D431B01.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B3
Deuteranopia (green-blind)
#7283AC
Tritanopia (blue-blind)
#E0396E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d431b0;
/* rgb */ color: rgb(212, 49, 176);
/* oklch */ color: oklch(60.9% 0.233 338.8);
Tailwind
colors: {
  custom: {
    50: '#e67bc8',
    500: '#d431b0',
    950: '#000000',
  },
}
SCSS
$custom: #d431b0;
$custom-light: #e67bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#d431b0",
  "rgb": {
    "r": 212,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 313.252,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60912,
    "c": 0.23252,
    "h": 338.8
  },
  "luminance": 0.19328
}

Semantic roles & 50–950 ramp

primary
#D431B0
secondary
#8CD49C
accent
#E8653F
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D431B0

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

Preview Lab → · Contrast checker → · Palette generator →

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