#D351B2#D351B2

#D351B2 is a light, vivid pink. Relative luminance 0.229; OKLCH L 63.8% C 0.195 H 338.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#D351B2
RGBrgb(211, 81, 178)
HSLhsl(315, 60%, 57%)
HSVhsv(315, 62%, 83%)
CMYKcmyk(0%, 61.6%, 15.6%, 17.3%)
CIE-LABlab(55.02, 61.70, -26.02)
CIE-LCHlch(55.02, 66.97, 337.13°)
OKLaboklab(63.78% 0.1823 -0.0702)
OKLCHoklch(63.78% 0.195 338.9)
XYZxyz(37.8430, 22.9513, 44.5478)
Luminance0.2295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D351B2 #51D372
analogous
#B351D3 #D351B2 #D35171
triadic
#D351B2 #B2D351 #51B2D3
tetradic
#D351B2 #D3B351 #51D372 #5171D3
square
#D351B2 #D3B351 #51D372 #5171D3
split-complementary
#D351B2 #71D351 #51D3B3
monochromatic
#87226E #B82F95 #D351B2 #DF82C8 #ECB3DD

Accessibility & contrast

On white

3.76
#D351B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#D351B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D351B2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D351B2#FFFFFF#000000##000000
##D351B21.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5777B5
Deuteranopia (green-blind)
#7E8BAF
Tritanopia (blue-blind)
#DE557A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d351b2;
/* rgb */ color: rgb(211, 81, 178);
/* oklch */ color: oklch(63.8% 0.195 338.9);
Tailwind
colors: {
  custom: {
    50: '#e489c9',
    500: '#d351b2',
    950: '#000000',
  },
}
SCSS
$custom: #d351b2;
$custom-light: #e489c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d351b2",
  "rgb": {
    "r": 211,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 315.231,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63781,
    "c": 0.19533,
    "h": 338.9
  },
  "luminance": 0.22948
}

Semantic roles & 50–950 ramp

primary
#D351B2
secondary
#A6DAB3
accent
#E36D45
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D351B2

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

Preview Lab → · Contrast checker → · Palette generator →

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