#D334B7#D334B7

#D334B7 is a mid, highly saturated pink. Relative luminance 0.197; OKLCH L 61.3% C 0.234 H 336.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#D334B7
RGBrgb(211, 52, 183)
HSLhsl(311, 64%, 52%)
HSVhsv(311, 75%, 83%)
CMYKcmyk(0%, 75.4%, 13.3%, 17.3%)
CIE-LABlab(51.53, 72.83, -34.37)
CIE-LCHlch(51.53, 80.53, 334.74°)
OKLaboklab(61.31% 0.214 -0.0937)
OKLCHoklch(61.31% 0.234 336.4)
XYZxyz(36.6398, 19.7272, 46.6686)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D334B7 #34D350
analogous
#A034D3 #D334B7 #D33468
triadic
#D334B7 #B7D334 #34B7D3
tetradic
#D334B7 #D3A034 #34D350 #3468D3
square
#D334B7 #D3A034 #34D350 #3468D3
split-complementary
#D334B7 #68D334 #34D3A0
monochromatic
#741964 #A6248F #D334B7 #DE66C9 #E999DB

Accessibility & contrast

On white

4.25
#D334B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#D334B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D334B7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D334B7#FFFFFF#000000##000000
##D334B71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#376CBB
Deuteranopia (green-blind)
#7083B3
Tritanopia (blue-blind)
#DE4073
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d334b7;
/* rgb */ color: rgb(211, 52, 183);
/* oklch */ color: oklch(61.3% 0.234 336.4);
Tailwind
colors: {
  custom: {
    50: '#e57ccd',
    500: '#d334b7',
    950: '#000000',
  },
}
SCSS
$custom: #d334b7;
$custom-light: #e57ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#d334b7",
  "rgb": {
    "r": 211,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 310.566,
    "s": 64.372,
    "l": 51.569
  },
  "oklch": {
    "l": 0.61313,
    "c": 0.23363,
    "h": 336.4
  },
  "luminance": 0.19724
}

Semantic roles & 50–950 ramp

primary
#D334B7
secondary
#8ED49B
accent
#E75E40
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D334B7

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

Preview Lab → · Contrast checker → · Palette generator →

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