#D342A2#D342A2

#D342A2 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.5% C 0.205 H 344.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#D342A2
RGBrgb(211, 66, 162)
HSLhsl(320, 62%, 54%)
HSVhsv(320, 69%, 83%)
CMYKcmyk(0%, 68.7%, 23.2%, 17.3%)
CIE-LABlab(52.24, 65.39, -20.95)
CIE-LCHlch(52.24, 68.66, 342.23°)
OKLaboklab(61.53% 0.1971 -0.0558)
OKLCHoklch(61.53% 0.205 344.2)
XYZxyz(35.3351, 20.3575, 36.2439)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342A2 #42D373
analogous
#BC42D3 #D342A2 #D3425A
triadic
#D342A2 #A2D342 #42A2D3
tetradic
#D342A2 #D3BC42 #42D373 #425AD3
square
#D342A2 #D3BC42 #42D373 #425AD3
split-complementary
#D342A2 #5AD342 #42D3BC
monochromatic
#7D1D5D #AF2982 #D342A2 #DF74BA #EAA5D3

Accessibility & contrast

On white

4.14
#D342A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#D342A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342A2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342A2#FFFFFF#000000##000000
##D342A21.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#516DA5
Deuteranopia (green-blind)
#7D859F
Tritanopia (blue-blind)
#E0416C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d342a2;
/* rgb */ color: rgb(211, 66, 162);
/* oklch */ color: oklch(61.5% 0.205 344.2);
Tailwind
colors: {
  custom: {
    50: '#e581bd',
    500: '#d342a2',
    950: '#000000',
  },
}
SCSS
$custom: #d342a2;
$custom-light: #e581bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d342a2",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 320.276,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61531,
    "c": 0.20484,
    "h": 344.2
  },
  "luminance": 0.20354
}

Semantic roles & 50–950 ramp

primary
#D342A2
secondary
#9AD7AE
accent
#E57A42
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D342A2

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

Preview Lab → · Contrast checker → · Palette generator →

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