#D351A7#D351A7

#D351A7 is a light, vivid pink. Relative luminance 0.225; OKLCH L 63.3% C 0.188 H 343.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#D351A7
RGBrgb(211, 81, 167)
HSLhsl(320, 60%, 57%)
HSVhsv(320, 62%, 83%)
CMYKcmyk(0%, 61.6%, 20.9%, 17.3%)
CIE-LABlab(54.58, 60.13, -20.30)
CIE-LCHlch(54.58, 63.47, 341.35°)
OKLaboklab(63.31% 0.18 -0.0541)
OKLCHoklch(63.31% 0.188 343.3)
XYZxyz(36.7825, 22.5272, 38.9627)
Luminance0.2252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D351A7 #51D37D
analogous
#BE51D3 #D351A7 #D35166
triadic
#D351A7 #A7D351 #51A7D3
tetradic
#D351A7 #D3BE51 #51D37D #5166D3
square
#D351A7 #D3BE51 #51D37D #5166D3
split-complementary
#D351A7 #66D351 #51D3BE
monochromatic
#872265 #B82F8A #D351A7 #DF82C0 #ECB3D8

Accessibility & contrast

On white

3.81
#D351A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#D351A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D351A7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D351A7#FFFFFF#000000##000000
##D351A71.003.815.505.50
#FFFFFF3.811.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C75AA
Deuteranopia (green-blind)
#828AA4
Tritanopia (blue-blind)
#E05175
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d351a7;
/* rgb */ color: rgb(211, 81, 167);
/* oklch */ color: oklch(63.3% 0.188 343.3);
Tailwind
colors: {
  custom: {
    50: '#e489c1',
    500: '#d351a7',
    950: '#000000',
  },
}
SCSS
$custom: #d351a7;
$custom-light: #e489c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d351a7",
  "rgb": {
    "r": 211,
    "g": 81,
    "b": 167
  },
  "hsl": {
    "h": 320.308,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63313,
    "c": 0.18801,
    "h": 343.3
  },
  "luminance": 0.22524
}

Semantic roles & 50–950 ramp

primary
#D351A7
secondary
#A6DAB7
accent
#E37A45
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D351A7

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

Preview Lab → · Contrast checker → · Palette generator →

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