#D24A7F#D24A7F

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

Color values

HEX#D24A7F
RGBrgb(210, 74, 127)
HSLhsl(337, 60%, 56%)
HSVhsv(337, 65%, 82%)
CMYKcmyk(0%, 64.8%, 39.5%, 17.6%)
CIE-LABlab(51.99, 57.86, -0.54)
CIE-LCHlch(51.99, 57.87, 359.46°)
OKLaboklab(60.92% 0.177 -0.0007)
OKLCHoklch(60.92% 0.177 359.8)
XYZxyz(32.8600, 20.1353, 22.2306)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D24A7F #4AD29D
analogous
#D24AC3 #D24A7F #D2594A
triadic
#D24A7F #7FD24A #4A7FD2
tetradic
#D24A7F #C3D24A #4AD29D #594AD2
square
#D24A7F #C3D24A #4AD29D #594AD2
split-complementary
#D24A7F #4AD259 #4AC3D2
monochromatic
#812046 #B22C61 #D24A7F #DE7BA2 #EAACC4

Accessibility & contrast

On white

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

On black

5.03
#D24A7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D24A7F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D24A7F#FFFFFF#000000##000000
##D24A7F1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#646C80
Deuteranopia (green-blind)
#88867C
Tritanopia (blue-blind)
#E33C5F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d24a7f;
/* rgb */ color: rgb(210, 74, 127);
/* oklch */ color: oklch(60.9% 0.177 359.8);
Tailwind
colors: {
  custom: {
    50: '#e484a4',
    500: '#d24a7f',
    950: '#000000',
  },
}
SCSS
$custom: #d24a7f;
$custom-light: #e484a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d24a7f",
  "rgb": {
    "r": 210,
    "g": 74,
    "b": 127
  },
  "hsl": {
    "h": 336.618,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6092,
    "c": 0.17698,
    "h": 359.8
  },
  "luminance": 0.20132
}

Semantic roles & 50–950 ramp

primary
#D24A7F
secondary
#A0D8C2
accent
#E3A544
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #D24A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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