#D335AB#D335AB

#D335AB is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 60.8% C 0.225 H 340.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#D335AB
RGBrgb(211, 53, 171)
HSLhsl(315, 64%, 52%)
HSVhsv(315, 75%, 83%)
CMYKcmyk(0%, 74.9%, 19%, 17.3%)
CIE-LABlab(51.08, 70.90, -28.04)
CIE-LCHlch(51.08, 76.24, 338.42°)
OKLaboklab(60.81% 0.2118 -0.0757)
OKLCHoklch(60.81% 0.225 340.3)
XYZxyz(35.4888, 19.3389, 40.3840)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D335AB #35D35D
analogous
#AC35D3 #D335AB #D3355C
triadic
#D335AB #ABD335 #35ABD3
tetradic
#D335AB #D3AC35 #35D35D #355CD3
square
#D335AB #D3AC35 #35D35D #355CD3
split-complementary
#D335AB #5CD335 #35D3AC
monochromatic
#74195D #A72486 #D335AB #DE67C0 #E99AD5

Accessibility & contrast

On white

4.31
#D335AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#D335AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D335AB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D335AB#FFFFFF#000000##000000
##D335AB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#416AAE
Deuteranopia (green-blind)
#7583A7
Tritanopia (blue-blind)
#E03A6D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d335ab;
/* rgb */ color: rgb(211, 53, 171);
/* oklch */ color: oklch(60.8% 0.225 340.3);
Tailwind
colors: {
  custom: {
    50: '#e57cc4',
    500: '#d335ab',
    950: '#000000',
  },
}
SCSS
$custom: #d335ab;
$custom-light: #e57cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#d335ab",
  "rgb": {
    "r": 211,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 315.19,
    "s": 64.228,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60813,
    "c": 0.22492,
    "h": 340.3
  },
  "luminance": 0.19335
}

Semantic roles & 50–950 ramp

primary
#D335AB
secondary
#8FD5A1
accent
#E76B41
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D335AB

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

Preview Lab → · Contrast checker → · Palette generator →

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