#D342AC#D342AC

#D342AC is a mid, highly saturated pink. Relative luminance 0.207; OKLCH L 62.0% C 0.211 H 340.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#D342AC
RGBrgb(211, 66, 172)
HSLhsl(316, 62%, 54%)
HSVhsv(316, 69%, 83%)
CMYKcmyk(0%, 68.7%, 18.5%, 17.3%)
CIE-LABlab(52.65, 66.73, -26.19)
CIE-LCHlch(52.65, 71.68, 338.57°)
OKLaboklab(61.97% 0.1989 -0.0705)
OKLCHoklch(61.97% 0.211 340.5)
XYZxyz(36.2595, 20.7273, 41.1129)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342AC #42D369
analogous
#B242D3 #D342AC #D34264
triadic
#D342AC #ACD342 #42ACD3
tetradic
#D342AC #D3B242 #42D369 #4264D3
square
#D342AC #D3B242 #42D369 #4264D3
split-complementary
#D342AC #64D342 #42D3B2
monochromatic
#7D1D64 #AF298B #D342AC #DF74C2 #EAA5D8

Accessibility & contrast

On white

4.08
#D342AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#D342AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342AC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342AC#FFFFFF#000000##000000
##D342AC1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6FAF
Deuteranopia (green-blind)
#7986A9
Tritanopia (blue-blind)
#DF4671
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d342ac;
/* rgb */ color: rgb(211, 66, 172);
/* oklch */ color: oklch(62.0% 0.211 340.5);
Tailwind
colors: {
  custom: {
    50: '#e482c5',
    500: '#d342ac',
    950: '#000000',
  },
}
SCSS
$custom: #d342ac;
$custom-light: #e482c5;
$custom-dark: #000000;
JSON
{
  "hex": "#d342ac",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 172
  },
  "hsl": {
    "h": 316.138,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61965,
    "c": 0.21104,
    "h": 340.5
  },
  "luminance": 0.20724
}

Semantic roles & 50–950 ramp

primary
#D342AC
secondary
#9AD7AA
accent
#E56E42
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D342AC

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

Preview Lab → · Contrast checker → · Palette generator →

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