#D342B7#D342B7

#D342B7 is a light, highly saturated pink. Relative luminance 0.212; OKLCH L 62.5% C 0.218 H 336.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#D342B7
RGBrgb(211, 66, 183)
HSLhsl(312, 62%, 54%)
HSVhsv(312, 69%, 83%)
CMYKcmyk(0%, 68.7%, 13.3%, 17.3%)
CIE-LABlab(53.13, 68.28, -31.86)
CIE-LCHlch(53.13, 75.35, 334.99°)
OKLaboklab(62.47% 0.2005 -0.0866)
OKLCHoklch(62.47% 0.218 336.6)
XYZxyz(37.3600, 21.1675, 46.9087)
Luminance0.2116 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342B7 #42D35E
analogous
#A742D3 #D342B7 #D3426F
triadic
#D342B7 #B7D342 #42B7D3
tetradic
#D342B7 #D3A742 #42D35E #426FD3
square
#D342B7 #D3A742 #42D35E #426FD3
split-complementary
#D342B7 #6FD342 #42D3A7
monochromatic
#7D1D6B #AF2995 #D342B7 #DF74CA #EAA5DD

Accessibility & contrast

On white

4.01
#D342B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#D342B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342B7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342B7#FFFFFF#000000##000000
##D342B71.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4571BA
Deuteranopia (green-blind)
#7587B3
Tritanopia (blue-blind)
#DE4B77
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d342b7;
/* rgb */ color: rgb(211, 66, 183);
/* oklch */ color: oklch(62.5% 0.218 336.6);
Tailwind
colors: {
  custom: {
    50: '#e482cd',
    500: '#d342b7',
    950: '#000000',
  },
}
SCSS
$custom: #d342b7;
$custom-light: #e482cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d342b7",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 183
  },
  "hsl": {
    "h": 311.586,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62473,
    "c": 0.21839,
    "h": 336.6
  },
  "luminance": 0.21164
}

Semantic roles & 50–950 ramp

primary
#D342B7
secondary
#9AD7A6
accent
#E56242
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D342B7

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

Preview Lab → · Contrast checker → · Palette generator →

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