#D342A4#D342A4

#D342A4 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.6% C 0.206 H 343.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D342A4
RGBrgb(211, 66, 164)
HSLhsl(319, 62%, 54%)
HSVhsv(319, 69%, 83%)
CMYKcmyk(0%, 68.7%, 22.3%, 17.3%)
CIE-LABlab(52.32, 65.65, -22.01)
CIE-LCHlch(52.32, 69.24, 341.47°)
OKLaboklab(61.61% 0.1975 -0.0588)
OKLCHoklch(61.61% 0.206 343.4)
XYZxyz(35.5142, 20.4292, 37.1877)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342A4 #42D371
analogous
#B942D3 #D342A4 #D3425C
triadic
#D342A4 #A4D342 #42A4D3
tetradic
#D342A4 #D3B942 #42D371 #425CD3
square
#D342A4 #D3B942 #42D371 #425CD3
split-complementary
#D342A4 #5CD342 #42D3B9
monochromatic
#7D1D5E #AF2984 #D342A4 #DF74BC #EAA5D4

Accessibility & contrast

On white

4.13
#D342A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#D342A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342A4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342A4#FFFFFF#000000##000000
##D342A41.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#506DA7
Deuteranopia (green-blind)
#7C86A1
Tritanopia (blue-blind)
#E0426D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d342a4;
/* rgb */ color: rgb(211, 66, 164);
/* oklch */ color: oklch(61.6% 0.206 343.4);
Tailwind
colors: {
  custom: {
    50: '#e481bf',
    500: '#d342a4',
    950: '#000000',
  },
}
SCSS
$custom: #d342a4;
$custom-light: #e481bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d342a4",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 164
  },
  "hsl": {
    "h": 319.448,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61615,
    "c": 0.20604,
    "h": 343.4
  },
  "luminance": 0.20426
}

Semantic roles & 50–950 ramp

primary
#D342A4
secondary
#9AD7AE
accent
#E57742
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D342A4

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

Preview Lab → · Contrast checker → · Palette generator →

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