#D240AE#D240AE

#D240AE is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.7% C 0.214 H 339.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D240AE
RGBrgb(210, 64, 174)
HSLhsl(315, 62%, 54%)
HSVhsv(315, 70%, 82%)
CMYKcmyk(0%, 69.5%, 17.1%, 17.6%)
CIE-LABlab(52.32, 67.47, -27.89)
CIE-LCHlch(52.32, 73.01, 337.54°)
OKLaboklab(61.72% 0.2004 -0.0753)
OKLCHoklch(61.72% 0.214 339.4)
XYZxyz(36.0526, 20.4278, 42.0804)
Luminance0.2042 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D240AE #40D264
analogous
#AD40D2 #D240AE #D24065
triadic
#D240AE #AED240 #40AED2
tetradic
#D240AE #D2AD40 #40D264 #4065D2
square
#D240AE #D2AD40 #40D264 #4065D2
split-complementary
#D240AE #65D240 #40D2AD
monochromatic
#7B1D64 #AC298C #D240AE #DE72C3 #E9A3D8

Accessibility & contrast

On white

4.13
#D240AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D240AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D240AE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D240AE#FFFFFF#000000##000000
##D240AE1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#486EB1
Deuteranopia (green-blind)
#7785AB
Tritanopia (blue-blind)
#DE4572
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d240ae;
/* rgb */ color: rgb(210, 64, 174);
/* oklch */ color: oklch(61.7% 0.214 339.4);
Tailwind
colors: {
  custom: {
    50: '#e481c6',
    500: '#d240ae',
    950: '#000000',
  },
}
SCSS
$custom: #d240ae;
$custom-light: #e481c6;
$custom-dark: #000000;
JSON
{
  "hex": "#d240ae",
  "rgb": {
    "r": 210,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 314.795,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6172,
    "c": 0.21411,
    "h": 339.4
  },
  "luminance": 0.20424
}

Semantic roles & 50–950 ramp

primary
#D240AE
secondary
#98D6A7
accent
#E56B43
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D240AE

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

Preview Lab → · Contrast checker → · Palette generator →

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