#D240A0#D240A0

#D240A0 is a mid, highly saturated pink. Relative luminance 0.199; OKLCH L 61.1% C 0.205 H 344.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#D240A0
RGBrgb(210, 64, 160)
HSLhsl(321, 62%, 54%)
HSVhsv(321, 70%, 82%)
CMYKcmyk(0%, 69.5%, 23.8%, 17.6%)
CIE-LABlab(51.74, 65.59, -20.56)
CIE-LCHlch(51.74, 68.74, 342.60°)
OKLaboklab(61.11% 0.1979 -0.0547)
OKLCHoklch(61.11% 0.205 344.5)
XYZxyz(34.7582, 19.9101, 35.2634)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D240A0 #40D272
analogous
#BB40D2 #D240A0 #D24057
triadic
#D240A0 #A0D240 #40A0D2
tetradic
#D240A0 #D2BB40 #40D272 #4057D2
square
#D240A0 #D2BB40 #40D272 #4057D2
split-complementary
#D240A0 #57D240 #40D2BB
monochromatic
#7B1D5B #AC297F #D240A0 #DE72B9 #E9A3D1

Accessibility & contrast

On white

4.22
#D240A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#D240A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D240A0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D240A0#FFFFFF#000000##000000
##D240A01.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#506CA3
Deuteranopia (green-blind)
#7C849D
Tritanopia (blue-blind)
#E03F6A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d240a0;
/* rgb */ color: rgb(210, 64, 160);
/* oklch */ color: oklch(61.1% 0.205 344.5);
Tailwind
colors: {
  custom: {
    50: '#e480bc',
    500: '#d240a0',
    950: '#000000',
  },
}
SCSS
$custom: #d240a0;
$custom-light: #e480bc;
$custom-dark: #000000;
JSON
{
  "hex": "#d240a0",
  "rgb": {
    "r": 210,
    "g": 64,
    "b": 160
  },
  "hsl": {
    "h": 320.548,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61106,
    "c": 0.20538,
    "h": 344.5
  },
  "luminance": 0.19906
}

Semantic roles & 50–950 ramp

primary
#D240A0
secondary
#98D6AD
accent
#E57A43
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D240A0

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

Preview Lab → · Contrast checker → · Palette generator →

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