#D342A7#D342A7

#D342A7 is a mid, highly saturated pink. Relative luminance 0.205; OKLCH L 61.7% C 0.208 H 342.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#D342A7
RGBrgb(211, 66, 167)
HSLhsl(318, 62%, 54%)
HSVhsv(318, 69%, 83%)
CMYKcmyk(0%, 68.7%, 20.9%, 17.3%)
CIE-LABlab(52.44, 66.05, -23.59)
CIE-LCHlch(52.44, 70.13, 340.35°)
OKLaboklab(61.74% 0.198 -0.0632)
OKLCHoklch(61.74% 0.208 342.3)
XYZxyz(35.7884, 20.5389, 38.6313)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342A7 #42D36E
analogous
#B742D3 #D342A7 #D3425F
triadic
#D342A7 #A7D342 #42A7D3
tetradic
#D342A7 #D3B742 #42D36E #425FD3
square
#D342A7 #D3B742 #42D36E #425FD3
split-complementary
#D342A7 #5FD342 #42D3B7
monochromatic
#7D1D60 #AF2986 #D342A7 #DF74BE #EAA5D5

Accessibility & contrast

On white

4.11
#D342A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#D342A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342A7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342A7#FFFFFF#000000##000000
##D342A71.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EAA
Deuteranopia (green-blind)
#7B86A4
Tritanopia (blue-blind)
#E0436F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d342a7;
/* rgb */ color: rgb(211, 66, 167);
/* oklch */ color: oklch(61.7% 0.208 342.3);
Tailwind
colors: {
  custom: {
    50: '#e481c1',
    500: '#d342a7',
    950: '#000000',
  },
}
SCSS
$custom: #d342a7;
$custom-light: #e481c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d342a7",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 167
  },
  "hsl": {
    "h": 318.207,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61744,
    "c": 0.20788,
    "h": 342.3
  },
  "luminance": 0.20535
}

Semantic roles & 50–950 ramp

primary
#D342A7
secondary
#9AD7AC
accent
#E57442
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D342A7

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

Preview Lab → · Contrast checker → · Palette generator →

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