#D24C7E#D24C7E

#D24C7E is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.1% C 0.174 H 0.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D24C7E
RGBrgb(210, 76, 126)
HSLhsl(338, 60%, 56%)
HSVhsv(338, 64%, 82%)
CMYKcmyk(0%, 63.8%, 40%, 17.6%)
CIE-LABlab(52.26, 56.93, 0.46)
CIE-LCHlch(52.26, 56.93, 0.46°)
OKLaboklab(61.11% 0.174 0.0019)
OKLCHoklch(61.11% 0.174 0.6)
XYZxyz(32.9308, 20.3807, 21.9343)
Luminance0.2038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D24C7E #4CD2A0
analogous
#D24CC1 #D24C7E #D25D4C
triadic
#D24C7E #7ED24C #4C7ED2
tetradic
#D24C7E #C1D24C #4CD2A0 #5D4CD2
square
#D24C7E #C1D24C #4CD2A0 #5D4CD2
split-complementary
#D24C7E #4CD25D #4CC1D2
monochromatic
#832145 #B42D5F #D24C7E #DE7DA1 #EBAEC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D24C7E#FFFFFF#000000##000000
##D24C7E1.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)
#656C7F
Deuteranopia (green-blind)
#89867B
Tritanopia (blue-blind)
#E33E60
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d24c7e;
/* rgb */ color: rgb(210, 76, 126);
/* oklch */ color: oklch(61.1% 0.174 0.6);
Tailwind
colors: {
  custom: {
    50: '#e485a3',
    500: '#d24c7e',
    950: '#000000',
  },
}
SCSS
$custom: #d24c7e;
$custom-light: #e485a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d24c7e",
  "rgb": {
    "r": 210,
    "g": 76,
    "b": 126
  },
  "hsl": {
    "h": 337.612,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61115,
    "c": 0.17404,
    "h": 0.6
  },
  "luminance": 0.20377
}

Semantic roles & 50–950 ramp

primary
#D24C7E
secondary
#A1D9C4
accent
#E3A845
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #D24C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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