#D342B8#D342B8

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

Color values

HEX#D342B8
RGBrgb(211, 66, 184)
HSLhsl(311, 62%, 54%)
HSVhsv(311, 69%, 83%)
CMYKcmyk(0%, 68.7%, 12.8%, 17.3%)
CIE-LABlab(53.18, 68.42, -32.37)
CIE-LCHlch(53.18, 75.69, 334.68°)
OKLaboklab(62.52% 0.2006 -0.0881)
OKLCHoklch(62.52% 0.219 336.3)
XYZxyz(37.4645, 21.2093, 47.4588)
Luminance0.2121 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342B8 #42D35D
analogous
#A542D3 #D342B8 #D34270
triadic
#D342B8 #B8D342 #42B8D3
tetradic
#D342B8 #D3A542 #42D35D #4270D3
square
#D342B8 #D3A542 #42D35D #4270D3
split-complementary
#D342B8 #70D342 #42D3A5
monochromatic
#7D1D6B #AF2996 #D342B8 #DF74CB #EAA5DD

Accessibility & contrast

On white

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

On black

5.24
#D342B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342B8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342B8#FFFFFF#000000##000000
##D342B81.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4471BB
Deuteranopia (green-blind)
#7587B4
Tritanopia (blue-blind)
#DE4B78
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d342b8;
/* rgb */ color: rgb(211, 66, 184);
/* oklch */ color: oklch(62.5% 0.219 336.3);
Tailwind
colors: {
  custom: {
    50: '#e482cd',
    500: '#d342b8',
    950: '#000000',
  },
}
SCSS
$custom: #d342b8;
$custom-light: #e482cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d342b8",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 184
  },
  "hsl": {
    "h": 311.172,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62521,
    "c": 0.21908,
    "h": 336.3
  },
  "luminance": 0.21206
}

Semantic roles & 50–950 ramp

primary
#D342B8
secondary
#9AD7A5
accent
#E56142
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D342B8

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

Preview Lab → · Contrast checker → · Palette generator →

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