#D4247C#D4247C

#D4247C is a mid, highly saturated pink. Relative luminance 0.167; OKLCH L 58.0% C 0.217 H 357.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#D4247C
RGBrgb(212, 36, 124)
HSLhsl(330, 71%, 49%)
HSVhsv(330, 83%, 83%)
CMYKcmyk(0%, 83%, 41.5%, 16.9%)
CIE-LABlab(47.90, 70.29, -4.71)
CIE-LCHlch(47.90, 70.44, 356.17°)
OKLaboklab(57.95% 0.2165 -0.0115)
OKLCHoklch(57.95% 0.217 357)
XYZxyz(31.4228, 16.7182, 20.6371)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4247C #24D47C
analogous
#D424D4 #D4247C #D42424
triadic
#D4247C #7CD424 #247CD4
tetradic
#D4247C #D4D424 #24D47C #2424D4
square
#D4247C #D4D424 #24D47C #2424D4
split-complementary
#D4247C #24D424 #24D4D4
monochromatic
#6B123F #A01B5D #D4247C #E2539B #EB88B9

Accessibility & contrast

On white

4.84
#D4247C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#D4247C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D4247C
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4247C#FFFFFF#000000##FFFFFF
##D4247C1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5D7E
Deuteranopia (green-blind)
#7F7D78
Tritanopia (blue-blind)
#E6004E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d4247c;
/* rgb */ color: rgb(212, 36, 124);
/* oklch */ color: oklch(58.0% 0.217 357.0);
Tailwind
colors: {
  custom: {
    50: '#e775a1',
    500: '#d4247c',
    950: '#000000',
  },
}
SCSS
$custom: #d4247c;
$custom-light: #e775a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d4247c",
  "rgb": {
    "r": 212,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 330,
    "s": 70.968,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57951,
    "c": 0.21682,
    "h": 357
  },
  "luminance": 0.16714
}

Semantic roles & 50–950 ramp

primary
#D4247C
secondary
#80D4AA
accent
#EE943A
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0F
muted
#857C7E

Preview Lab

Preview with #D4247C

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

Preview Lab → · Contrast checker → · Palette generator →

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