#D336AF#D336AF

#D336AF is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 61.1% C 0.226 H 339.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#D336AF
RGBrgb(211, 54, 175)
HSLhsl(314, 64%, 52%)
HSVhsv(314, 74%, 83%)
CMYKcmyk(0%, 74.4%, 17.1%, 17.3%)
CIE-LABlab(51.37, 71.13, -29.94)
CIE-LCHlch(51.37, 77.18, 337.17°)
OKLaboklab(61.08% 0.2114 -0.0811)
OKLCHoklch(61.08% 0.226 339)
XYZxyz(35.9219, 19.5859, 42.4377)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336AF #36D35A
analogous
#A936D3 #D336AF #D33661
triadic
#D336AF #AFD336 #36AFD3
tetradic
#D336AF #D3A936 #36D35A #3661D3
square
#D336AF #D3A936 #36D35A #3661D3
split-complementary
#D336AF #61D336 #36D3A9
monochromatic
#751A60 #A72589 #D336AF #DE68C3 #E99AD7

Accessibility & contrast

On white

4.27
#D336AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#D336AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336AF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336AF#FFFFFF#000000##000000
##D336AF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6BB2
Deuteranopia (green-blind)
#7483AB
Tritanopia (blue-blind)
#DF3D6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d336af;
/* rgb */ color: rgb(211, 54, 175);
/* oklch */ color: oklch(61.1% 0.226 339.0);
Tailwind
colors: {
  custom: {
    50: '#e57cc7',
    500: '#d336af',
    950: '#000000',
  },
}
SCSS
$custom: #d336af;
$custom-light: #e57cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#d336af",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 313.758,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61076,
    "c": 0.22643,
    "h": 339
  },
  "luminance": 0.19582
}

Semantic roles & 50–950 ramp

primary
#D336AF
secondary
#90D5A0
accent
#E76741
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D336AF

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

Preview Lab → · Contrast checker → · Palette generator →

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