#D342A8#D342A8

#D342A8 is a mid, highly saturated pink. Relative luminance 0.206; OKLCH L 61.8% C 0.209 H 341.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#D342A8
RGBrgb(211, 66, 168)
HSLhsl(318, 62%, 54%)
HSVhsv(318, 69%, 83%)
CMYKcmyk(0%, 68.7%, 20.4%, 17.3%)
CIE-LABlab(52.48, 66.18, -24.11)
CIE-LCHlch(52.48, 70.44, 339.98°)
OKLaboklab(61.79% 0.1982 -0.0647)
OKLCHoklch(61.79% 0.209 341.9)
XYZxyz(35.8812, 20.5760, 39.1201)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342A8 #42D36D
analogous
#B642D3 #D342A8 #D34260
triadic
#D342A8 #A8D342 #42A8D3
tetradic
#D342A8 #D3B642 #42D36D #4260D3
square
#D342A8 #D3B642 #42D36D #4260D3
split-complementary
#D342A8 #60D342 #42D3B6
monochromatic
#7D1D61 #AF2987 #D342A8 #DF74BF #EAA5D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D342A8#FFFFFF#000000##000000
##D342A81.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)
#4E6EAB
Deuteranopia (green-blind)
#7B86A5
Tritanopia (blue-blind)
#E0446F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d342a8;
/* rgb */ color: rgb(211, 66, 168);
/* oklch */ color: oklch(61.8% 0.209 341.9);
Tailwind
colors: {
  custom: {
    50: '#e482c2',
    500: '#d342a8',
    950: '#000000',
  },
}
SCSS
$custom: #d342a8;
$custom-light: #e482c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d342a8",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 168
  },
  "hsl": {
    "h": 317.793,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61788,
    "c": 0.20851,
    "h": 341.9
  },
  "luminance": 0.20572
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D342A8

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

Preview Lab → · Contrast checker → · Palette generator →

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