#D337AF#D337AF

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

Color values

HEX#D337AF
RGBrgb(211, 55, 175)
HSLhsl(314, 64%, 52%)
HSVhsv(314, 74%, 83%)
CMYKcmyk(0%, 73.9%, 17.1%, 17.3%)
CIE-LABlab(51.47, 70.83, -29.78)
CIE-LCHlch(51.47, 76.83, 337.20°)
OKLaboklab(61.15% 0.2105 -0.0806)
OKLCHoklch(61.15% 0.225 339)
XYZxyz(35.9689, 19.6799, 42.4534)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D337AF #37D35B
analogous
#A937D3 #D337AF #D33761
triadic
#D337AF #AFD337 #37AFD3
tetradic
#D337AF #D3A937 #37D35B #3761D3
square
#D337AF #D3A937 #37D35B #3761D3
split-complementary
#D337AF #61D337 #37D3A9
monochromatic
#761A61 #A8258A #D337AF #DE69C3 #E99BD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D337AF#FFFFFF#000000##000000
##D337AF1.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#406BB2
Deuteranopia (green-blind)
#7483AB
Tritanopia (blue-blind)
#DF3E6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d337af;
/* rgb */ color: rgb(211, 55, 175);
/* oklch */ color: oklch(61.2% 0.225 339.0);
Tailwind
colors: {
  custom: {
    50: '#e57dc7',
    500: '#d337af',
    950: '#000000',
  },
}
SCSS
$custom: #d337af;
$custom-light: #e57dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#d337af",
  "rgb": {
    "r": 211,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 313.846,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61154,
    "c": 0.2254,
    "h": 339
  },
  "luminance": 0.19676
}

Semantic roles & 50–950 ramp

primary
#D337AF
secondary
#91D5A1
accent
#E76741
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D337AF

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

Preview Lab → · Contrast checker → · Palette generator →

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