#D24A7E#D24A7E

#D24A7E is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.9% C 0.177 H 0.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#D24A7E
RGBrgb(210, 74, 126)
HSLhsl(337, 60%, 56%)
HSVhsv(337, 65%, 82%)
CMYKcmyk(0%, 64.8%, 40%, 17.6%)
CIE-LABlab(51.96, 57.76, 0.01)
CIE-LCHlch(51.96, 57.76, 0.01°)
OKLaboklab(60.89% 0.1767 0.0007)
OKLCHoklch(60.89% 0.177 0.2)
XYZxyz(32.7952, 20.1094, 21.8891)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D24A7E #4AD29E
analogous
#D24AC2 #D24A7E #D25A4A
triadic
#D24A7E #7ED24A #4A7ED2
tetradic
#D24A7E #C2D24A #4AD29E #5A4AD2
square
#D24A7E #C2D24A #4AD29E #5A4AD2
split-complementary
#D24A7E #4AD25A #4AC2D2
monochromatic
#812045 #B22C60 #D24A7E #DE7BA1 #EAACC4

Accessibility & contrast

On white

4.18
#D24A7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#D24A7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D24A7E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D24A7E#FFFFFF#000000##000000
##D24A7E1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#646B7F
Deuteranopia (green-blind)
#88857B
Tritanopia (blue-blind)
#E33B5F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d24a7e;
/* rgb */ color: rgb(210, 74, 126);
/* oklch */ color: oklch(60.9% 0.177 0.2);
Tailwind
colors: {
  custom: {
    50: '#e484a3',
    500: '#d24a7e',
    950: '#000000',
  },
}
SCSS
$custom: #d24a7e;
$custom-light: #e484a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d24a7e",
  "rgb": {
    "r": 210,
    "g": 74,
    "b": 126
  },
  "hsl": {
    "h": 337.059,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60889,
    "c": 0.17665,
    "h": 0.2
  },
  "luminance": 0.20106
}

Semantic roles & 50–950 ramp

primary
#D24A7E
secondary
#A0D8C3
accent
#E3A744
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #D24A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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