#D338AD#D338AD

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

Color values

HEX#D338AD
RGBrgb(211, 56, 173)
HSLhsl(315, 64%, 52%)
HSVhsv(315, 73%, 83%)
CMYKcmyk(0%, 73.5%, 18%, 17.3%)
CIE-LABlab(51.49, 70.24, -28.57)
CIE-LCHlch(51.49, 75.83, 337.87°)
OKLaboklab(61.14% 0.2093 -0.0772)
OKLCHoklch(61.14% 0.223 339.8)
XYZxyz(35.8219, 19.6979, 41.4426)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D338AD #38D35E
analogous
#AC38D3 #D338AD #D3385F
triadic
#D338AD #ADD338 #38ADD3
tetradic
#D338AD #D3AC38 #38D35E #385FD3
square
#D338AD #D3AC38 #38D35E #385FD3
split-complementary
#D338AD #5FD338 #38D3AC
monochromatic
#761A60 #A92588 #D338AD #DE6AC2 #E99CD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D338AD#FFFFFF#000000##000000
##D338AD1.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)
#426BB0
Deuteranopia (green-blind)
#7584A9
Tritanopia (blue-blind)
#DF3D6E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d338ad;
/* rgb */ color: rgb(211, 56, 173);
/* oklch */ color: oklch(61.1% 0.223 339.8);
Tailwind
colors: {
  custom: {
    50: '#e57dc5',
    500: '#d338ad',
    950: '#000000',
  },
}
SCSS
$custom: #d338ad;
$custom-light: #e57dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#d338ad",
  "rgb": {
    "r": 211,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 314.71,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.6114,
    "c": 0.22308,
    "h": 339.8
  },
  "luminance": 0.19694
}

Semantic roles & 50–950 ramp

primary
#D338AD
secondary
#92D5A2
accent
#E76A41
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D338AD

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

Preview Lab → · Contrast checker → · Palette generator →

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