#D240AD#D240AD

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

Color values

HEX#D240AD
RGBrgb(210, 64, 173)
HSLhsl(315, 62%, 54%)
HSVhsv(315, 70%, 82%)
CMYKcmyk(0%, 69.5%, 17.6%, 17.6%)
CIE-LABlab(52.27, 67.33, -27.37)
CIE-LCHlch(52.27, 72.68, 337.87°)
OKLaboklab(61.67% 0.2003 -0.0739)
OKLCHoklch(61.67% 0.213 339.7)
XYZxyz(35.9555, 20.3890, 41.5689)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D240AD #40D265
analogous
#AE40D2 #D240AD #D24064
triadic
#D240AD #ADD240 #40ADD2
tetradic
#D240AD #D2AE40 #40D265 #4064D2
square
#D240AD #D2AE40 #40D265 #4064D2
split-complementary
#D240AD #64D240 #40D2AE
monochromatic
#7B1D63 #AC298B #D240AD #DE72C2 #E9A3D8

Accessibility & contrast

On white

4.14
#D240AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D240AD#FFFFFF#000000##000000
##D240AD1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#496EB0
Deuteranopia (green-blind)
#7785AA
Tritanopia (blue-blind)
#DE4571
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d240ad;
/* rgb */ color: rgb(210, 64, 173);
/* oklch */ color: oklch(61.7% 0.213 339.7);
Tailwind
colors: {
  custom: {
    50: '#e481c5',
    500: '#d240ad',
    950: '#000000',
  },
}
SCSS
$custom: #d240ad;
$custom-light: #e481c5;
$custom-dark: #000000;
JSON
{
  "hex": "#d240ad",
  "rgb": {
    "r": 210,
    "g": 64,
    "b": 173
  },
  "hsl": {
    "h": 315.205,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61674,
    "c": 0.21346,
    "h": 339.7
  },
  "luminance": 0.20386
}

Semantic roles & 50–950 ramp

primary
#D240AD
secondary
#98D6A8
accent
#E56C43
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D240AD

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

Preview Lab → · Contrast checker → · Palette generator →

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