#D4257D#D4257D

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

Color values

HEX#D4257D
RGBrgb(212, 37, 125)
HSLhsl(330, 70%, 49%)
HSVhsv(330, 83%, 83%)
CMYKcmyk(0%, 82.5%, 41%, 16.9%)
CIE-LABlab(48.01, 70.16, -5.15)
CIE-LCHlch(48.01, 70.35, 355.80°)
OKLaboklab(58.04% 0.2161 -0.0127)
OKLCHoklch(58.04% 0.216 356.6)
XYZxyz(31.5170, 16.8051, 20.9821)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4257D #25D47C
analogous
#D425D4 #D4257D #D42525
triadic
#D4257D #7DD425 #257DD4
tetradic
#D4257D #D4D425 #25D47C #2525D4
square
#D4257D #D4D425 #25D47C #2525D4
split-complementary
#D4257D #25D425 #25D4D4
monochromatic
#6C1340 #A01C5E #D4257D #E1559C #EA89BA

Accessibility & contrast

On white

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

On black

4.36
#D4257D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##D4257D#FFFFFF#000000##FFFFFF
##D4257D1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5D7F
Deuteranopia (green-blind)
#7F7D79
Tritanopia (blue-blind)
#E6004F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d4257d;
/* rgb */ color: rgb(212, 37, 125);
/* oklch */ color: oklch(58.0% 0.216 356.6);
Tailwind
colors: {
  custom: {
    50: '#e775a2',
    500: '#d4257d',
    950: '#000000',
  },
}
SCSS
$custom: #d4257d;
$custom-light: #e775a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d4257d",
  "rgb": {
    "r": 212,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 329.829,
    "s": 70.281,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58042,
    "c": 0.21646,
    "h": 356.6
  },
  "luminance": 0.16801
}

Semantic roles & 50–950 ramp

primary
#D4257D
secondary
#81D4AA
accent
#ED933B
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0F
muted
#857C7E

Preview Lab

Preview with #D4257D

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

Preview Lab → · Contrast checker → · Palette generator →

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