#D342A6#D342A6

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

Color values

HEX#D342A6
RGBrgb(211, 66, 166)
HSLhsl(319, 62%, 54%)
HSVhsv(319, 69%, 83%)
CMYKcmyk(0%, 68.7%, 21.3%, 17.3%)
CIE-LABlab(52.40, 65.92, -23.06)
CIE-LCHlch(52.40, 69.83, 340.72°)
OKLaboklab(61.7% 0.1979 -0.0617)
OKLCHoklch(61.7% 0.207 342.7)
XYZxyz(35.6963, 20.5020, 38.1463)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342A6 #42D36F
analogous
#B842D3 #D342A6 #D3425E
triadic
#D342A6 #A6D342 #42A6D3
tetradic
#D342A6 #D3B842 #42D36F #425ED3
square
#D342A6 #D3B842 #42D36F #425ED3
split-complementary
#D342A6 #5ED342 #42D3B8
monochromatic
#7D1D60 #AF2985 #D342A6 #DF74BD #EAA5D5

Accessibility & contrast

On white

4.12
#D342A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#D342A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342A6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342A6#FFFFFF#000000##000000
##D342A61.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EA9
Deuteranopia (green-blind)
#7B86A3
Tritanopia (blue-blind)
#E0436E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d342a6;
/* rgb */ color: rgb(211, 66, 166);
/* oklch */ color: oklch(61.7% 0.207 342.7);
Tailwind
colors: {
  custom: {
    50: '#e481c0',
    500: '#d342a6',
    950: '#000000',
  },
}
SCSS
$custom: #d342a6;
$custom-light: #e481c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d342a6",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 166
  },
  "hsl": {
    "h": 318.621,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61701,
    "c": 0.20726,
    "h": 342.7
  },
  "luminance": 0.20498
}

Semantic roles & 50–950 ramp

primary
#D342A6
secondary
#9AD7AD
accent
#E57542
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D342A6

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

Preview Lab → · Contrast checker → · Palette generator →

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