#D351A2#D351A2

#D351A2 is a light, vivid pink. Relative luminance 0.223; OKLCH L 63.1% C 0.185 H 345.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#D351A2
RGBrgb(211, 81, 162)
HSLhsl(323, 60%, 57%)
HSVhsv(323, 62%, 83%)
CMYKcmyk(0%, 61.6%, 23.2%, 17.3%)
CIE-LABlab(54.39, 59.45, -17.66)
CIE-LCHlch(54.39, 62.02, 343.45°)
OKLaboklab(63.11% 0.1789 -0.0468)
OKLCHoklch(63.11% 0.185 345.3)
XYZxyz(36.3292, 22.3458, 36.5753)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D351A2 #51D382
analogous
#C351D3 #D351A2 #D35161
triadic
#D351A2 #A2D351 #51A2D3
tetradic
#D351A2 #D3C351 #51D382 #5161D3
square
#D351A2 #D3C351 #51D382 #5161D3
split-complementary
#D351A2 #61D351 #51D3C3
monochromatic
#872261 #B82F84 #D351A2 #DF82BC #ECB3D6

Accessibility & contrast

On white

3.84
#D351A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#D351A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D351A2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D351A2#FFFFFF#000000##000000
##D351A21.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E74A4
Deuteranopia (green-blind)
#838A9F
Tritanopia (blue-blind)
#E04F72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d351a2;
/* rgb */ color: rgb(211, 81, 162);
/* oklch */ color: oklch(63.1% 0.185 345.3);
Tailwind
colors: {
  custom: {
    50: '#e489bd',
    500: '#d351a2',
    950: '#000000',
  },
}
SCSS
$custom: #d351a2;
$custom-light: #e489bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d351a2",
  "rgb": {
    "r": 211,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 322.615,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63111,
    "c": 0.18493,
    "h": 345.3
  },
  "luminance": 0.22342
}

Semantic roles & 50–950 ramp

primary
#D351A2
secondary
#A6DAB9
accent
#E38045
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D351A2

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

Preview Lab → · Contrast checker → · Palette generator →

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