#D342B2#D342B2

#D342B2 is a light, highly saturated pink. Relative luminance 0.210; OKLCH L 62.2% C 0.215 H 338.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#D342B2
RGBrgb(211, 66, 178)
HSLhsl(314, 62%, 54%)
HSVhsv(314, 69%, 83%)
CMYKcmyk(0%, 68.7%, 15.6%, 17.3%)
CIE-LABlab(52.91, 67.56, -29.30)
CIE-LCHlch(52.91, 73.64, 336.56°)
OKLaboklab(62.24% 0.1998 -0.0793)
OKLCHoklch(62.24% 0.215 338.3)
XYZxyz(36.8488, 20.9630, 44.2164)
Luminance0.2096 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342B2 #42D363
analogous
#AC42D3 #D342B2 #D3426A
triadic
#D342B2 #B2D342 #42B2D3
tetradic
#D342B2 #D3AC42 #42D363 #426AD3
square
#D342B2 #D3AC42 #42D363 #426AD3
split-complementary
#D342B2 #6AD342 #42D3AC
monochromatic
#7D1D68 #AF2990 #D342B2 #DF74C6 #EAA5DA

Accessibility & contrast

On white

4.04
#D342B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#D342B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342B2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342B2#FFFFFF#000000##000000
##D342B21.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#7786AF
Tritanopia (blue-blind)
#DE4874
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d342b2;
/* rgb */ color: rgb(211, 66, 178);
/* oklch */ color: oklch(62.2% 0.215 338.3);
Tailwind
colors: {
  custom: {
    50: '#e482c9',
    500: '#d342b2',
    950: '#000000',
  },
}
SCSS
$custom: #d342b2;
$custom-light: #e482c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d342b2",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 313.655,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62238,
    "c": 0.21499,
    "h": 338.3
  },
  "luminance": 0.2096
}

Semantic roles & 50–950 ramp

primary
#D342B2
secondary
#9AD7A8
accent
#E56842
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D342B2

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

Preview Lab → · Contrast checker → · Palette generator →

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