#D4247B#D4247B

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

Color values

HEX#D4247B
RGBrgb(212, 36, 123)
HSLhsl(330, 71%, 49%)
HSVhsv(330, 83%, 83%)
CMYKcmyk(0%, 83%, 42%, 16.9%)
CIE-LABlab(47.87, 70.19, -4.14)
CIE-LCHlch(47.87, 70.32, 356.62°)
OKLaboklab(57.92% 0.2162 -0.01)
OKLCHoklch(57.92% 0.216 357.3)
XYZxyz(31.3598, 16.6931, 20.3058)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4247B #24D47D
analogous
#D424D3 #D4247B #D42524
triadic
#D4247B #7BD424 #247BD4
tetradic
#D4247B #D3D424 #24D47D #2524D4
square
#D4247B #D3D424 #24D47D #2524D4
split-complementary
#D4247B #24D425 #24D3D4
monochromatic
#6B123E #A01B5D #D4247B #E2539A #EB88B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4247B#FFFFFF#000000##FFFFFF
##D4247B1.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)
#4F5D7D
Deuteranopia (green-blind)
#7F7D77
Tritanopia (blue-blind)
#E6004E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d4247b;
/* rgb */ color: rgb(212, 36, 123);
/* oklch */ color: oklch(57.9% 0.216 357.3);
Tailwind
colors: {
  custom: {
    50: '#e774a1',
    500: '#d4247b',
    950: '#000000',
  },
}
SCSS
$custom: #d4247b;
$custom-light: #e774a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d4247b",
  "rgb": {
    "r": 212,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 330.341,
    "s": 70.968,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57917,
    "c": 0.21646,
    "h": 357.3
  },
  "luminance": 0.16689
}

Semantic roles & 50–950 ramp

primary
#D4247B
secondary
#80D4AA
accent
#EE953A
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D4247B

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

Preview Lab → · Contrast checker → · Palette generator →

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