#D4257C#D4257C

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

Color values

HEX#D4257C
RGBrgb(212, 37, 124)
HSLhsl(330, 70%, 49%)
HSVhsv(330, 83%, 83%)
CMYKcmyk(0%, 82.5%, 41.5%, 16.9%)
CIE-LABlab(47.98, 70.06, -4.59)
CIE-LCHlch(47.98, 70.21, 356.25°)
OKLaboklab(58.01% 0.2158 -0.0112)
OKLCHoklch(58.01% 0.216 357)
XYZxyz(31.4534, 16.7796, 20.6474)
Luminance0.1678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4257C #25D47D
analogous
#D425D4 #D4257C #D42525
triadic
#D4257C #7CD425 #257CD4
tetradic
#D4257C #D4D425 #25D47D #2525D4
square
#D4257C #D4D425 #25D47D #2525D4
split-complementary
#D4257C #25D425 #25D4D4
monochromatic
#6C133F #A01C5E #D4257C #E1559B #EA89B9

Accessibility & contrast

On white

4.82
#D4257C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#D4257C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D4257C
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4257C#FFFFFF#000000##FFFFFF
##D4257C1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.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: #d4257c;
/* rgb */ color: rgb(212, 37, 124);
/* oklch */ color: oklch(58.0% 0.216 357.0);
Tailwind
colors: {
  custom: {
    50: '#e775a1',
    500: '#d4257c',
    950: '#000000',
  },
}
SCSS
$custom: #d4257c;
$custom-light: #e775a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d4257c",
  "rgb": {
    "r": 212,
    "g": 37,
    "b": 124
  },
  "hsl": {
    "h": 330.171,
    "s": 70.281,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58008,
    "c": 0.21609,
    "h": 357
  },
  "luminance": 0.16775
}

Semantic roles & 50–950 ramp

primary
#D4257C
secondary
#81D4AB
accent
#ED943B
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0F
muted
#857C7E

Preview Lab

Preview with #D4257C

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

Preview Lab → · Contrast checker → · Palette generator →

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