#D338AC#D338AC

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

Color values

HEX#D338AC
RGBrgb(211, 56, 172)
HSLhsl(315, 64%, 52%)
HSVhsv(315, 73%, 83%)
CMYKcmyk(0%, 73.5%, 18.5%, 17.3%)
CIE-LABlab(51.45, 70.11, -28.05)
CIE-LCHlch(51.45, 75.51, 338.19°)
OKLaboklab(61.09% 0.2092 -0.0757)
OKLCHoklch(61.09% 0.222 340.1)
XYZxyz(35.7255, 19.6593, 40.9349)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D338AC #38D35F
analogous
#AD38D3 #D338AC #D3385E
triadic
#D338AC #ACD338 #38ACD3
tetradic
#D338AC #D3AD38 #38D35F #385ED3
square
#D338AC #D3AD38 #38D35F #385ED3
split-complementary
#D338AC #5ED338 #38D3AD
monochromatic
#761A5F #A92588 #D338AC #DE6AC1 #E99CD6

Accessibility & contrast

On white

4.26
#D338AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#D338AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D338AC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D338AC#FFFFFF#000000##000000
##D338AC1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#436BAF
Deuteranopia (green-blind)
#7583A8
Tritanopia (blue-blind)
#DF3D6E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d338ac;
/* rgb */ color: rgb(211, 56, 172);
/* oklch */ color: oklch(61.1% 0.222 340.1);
Tailwind
colors: {
  custom: {
    50: '#e57dc5',
    500: '#d338ac',
    950: '#000000',
  },
}
SCSS
$custom: #d338ac;
$custom-light: #e57dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#d338ac",
  "rgb": {
    "r": 211,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 315.097,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61094,
    "c": 0.22244,
    "h": 340.1
  },
  "luminance": 0.19656
}

Semantic roles & 50–950 ramp

primary
#D338AC
secondary
#92D5A3
accent
#E76B41
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D338AC

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

Preview Lab → · Contrast checker → · Palette generator →

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