#D342B4#D342B4

#D342B4 is a light, highly saturated pink. Relative luminance 0.210; OKLCH L 62.3% C 0.216 H 337.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#D342B4
RGBrgb(211, 66, 180)
HSLhsl(313, 62%, 54%)
HSVhsv(313, 69%, 83%)
CMYKcmyk(0%, 68.7%, 14.7%, 17.3%)
CIE-LABlab(53.00, 67.85, -30.32)
CIE-LCHlch(53.00, 74.32, 335.92°)
OKLaboklab(62.33% 0.2001 -0.0823)
OKLCHoklch(62.33% 0.216 337.7)
XYZxyz(37.0511, 21.0439, 45.2817)
Luminance0.2104 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342B4 #42D361
analogous
#AA42D3 #D342B4 #D3426B
triadic
#D342B4 #B4D342 #42B4D3
tetradic
#D342B4 #D3AA42 #42D361 #426BD3
square
#D342B4 #D3AA42 #42D361 #426BD3
split-complementary
#D342B4 #6BD342 #42D3AA
monochromatic
#7D1D69 #AF2992 #D342B4 #DF74C8 #EAA5DB

Accessibility & contrast

On white

4.03
#D342B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#D342B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342B4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342B4#FFFFFF#000000##000000
##D342B41.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4770B7
Deuteranopia (green-blind)
#7687B0
Tritanopia (blue-blind)
#DE4975
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d342b4;
/* rgb */ color: rgb(211, 66, 180);
/* oklch */ color: oklch(62.3% 0.216 337.7);
Tailwind
colors: {
  custom: {
    50: '#e482ca',
    500: '#d342b4',
    950: '#000000',
  },
}
SCSS
$custom: #d342b4;
$custom-light: #e482ca;
$custom-dark: #000000;
JSON
{
  "hex": "#d342b4",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 180
  },
  "hsl": {
    "h": 312.828,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62331,
    "c": 0.21634,
    "h": 337.7
  },
  "luminance": 0.21041
}

Semantic roles & 50–950 ramp

primary
#D342B4
secondary
#9AD7A7
accent
#E56542
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D342B4

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

Preview Lab → · Contrast checker → · Palette generator →

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