#D938AF#D938AF

#D938AF is a light, highly saturated pink. Relative luminance 0.207; OKLCH L 62.2% C 0.228 H 340.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#D938AF
RGBrgb(217, 56, 175)
HSLhsl(316, 68%, 54%)
HSVhsv(316, 74%, 85%)
CMYKcmyk(0%, 74.2%, 19.4%, 14.9%)
CIE-LABlab(52.60, 71.92, -27.95)
CIE-LCHlch(52.60, 77.16, 338.76°)
OKLaboklab(62.16% 0.2151 -0.0754)
OKLCHoklch(62.16% 0.228 340.7)
XYZxyz(37.7684, 20.6790, 42.5515)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938AF #38D962
analogous
#B238D9 #D938AF #D9385E
triadic
#D938AF #AFD938 #38AFD9
tetradic
#D938AF #D9B238 #38D962 #385ED9
square
#D938AF #D9B238 #38D962 #385ED9
split-complementary
#D938AF #5ED938 #38D9B2
monochromatic
#7E1864 #B2228C #D938AF #E36BC4 #ED9FD8

Accessibility & contrast

On white

4.09
#D938AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#D938AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D938AF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D938AF#FFFFFF#000000##000000
##D938AF1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#456DB2
Deuteranopia (green-blind)
#7987AB
Tritanopia (blue-blind)
#E63C70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d938af;
/* rgb */ color: rgb(217, 56, 175);
/* oklch */ color: oklch(62.2% 0.228 340.7);
Tailwind
colors: {
  custom: {
    50: '#e97ec7',
    500: '#d938af',
    950: '#000000',
  },
}
SCSS
$custom: #d938af;
$custom-light: #e97ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#d938af",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 315.652,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62157,
    "c": 0.2279,
    "h": 340.7
  },
  "luminance": 0.20675
}

Semantic roles & 50–950 ramp

primary
#D938AF
secondary
#94D9A6
accent
#EB6A3D
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #D938AF

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

Preview Lab → · Contrast checker → · Palette generator →

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