#D338AF#D338AF

#D338AF is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.2% C 0.224 H 339.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#D338AF
RGBrgb(211, 56, 175)
HSLhsl(314, 64%, 52%)
HSVhsv(314, 73%, 83%)
CMYKcmyk(0%, 73.5%, 17.1%, 17.3%)
CIE-LABlab(51.58, 70.51, -29.61)
CIE-LCHlch(51.58, 76.48, 337.22°)
OKLaboklab(61.23% 0.2096 -0.0801)
OKLCHoklch(61.23% 0.224 339.1)
XYZxyz(36.0169, 19.7759, 42.4694)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D338AF #38D35C
analogous
#A938D3 #D338AF #D33862
triadic
#D338AF #AFD338 #38AFD3
tetradic
#D338AF #D3A938 #38D35C #3862D3
square
#D338AF #D3A938 #38D35C #3862D3
split-complementary
#D338AF #62D338 #38D3A9
monochromatic
#761A61 #A9258A #D338AF #DE6AC3 #E99CD7

Accessibility & contrast

On white

4.24
#D338AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#D338AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D338AF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D338AF#FFFFFF#000000##000000
##D338AF1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#416BB2
Deuteranopia (green-blind)
#7484AB
Tritanopia (blue-blind)
#DF3F70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d338af;
/* rgb */ color: rgb(211, 56, 175);
/* oklch */ color: oklch(61.2% 0.224 339.1);
Tailwind
colors: {
  custom: {
    50: '#e57dc7',
    500: '#d338af',
    950: '#000000',
  },
}
SCSS
$custom: #d338af;
$custom-light: #e57dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#d338af",
  "rgb": {
    "r": 211,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 313.935,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61233,
    "c": 0.22435,
    "h": 339.1
  },
  "luminance": 0.19772
}

Semantic roles & 50–950 ramp

primary
#D338AF
secondary
#92D5A1
accent
#E76841
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D338AF

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

Preview Lab → · Contrast checker → · Palette generator →

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