#D4257E#D4257E

#D4257E is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.1% C 0.217 H 356.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#D4257E
RGBrgb(212, 37, 126)
HSLhsl(329, 70%, 49%)
HSVhsv(329, 83%, 83%)
CMYKcmyk(0%, 82.5%, 40.6%, 16.9%)
CIE-LABlab(48.05, 70.25, -5.71)
CIE-LCHlch(48.05, 70.48, 355.35°)
OKLaboklab(58.08% 0.2164 -0.0141)
OKLCHoklch(58.08% 0.217 356.3)
XYZxyz(31.5812, 16.8307, 21.3203)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4257E #25D47B
analogous
#D325D4 #D4257E #D42526
triadic
#D4257E #7ED425 #257ED4
tetradic
#D4257E #D4D325 #25D47B #2526D4
square
#D4257E #D4D325 #25D47B #2526D4
split-complementary
#D4257E #26D425 #25D4D3
monochromatic
#6C1340 #A01C5F #D4257E #E1559C #EA89BB

Accessibility & contrast

On white

4.81
#D4257E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#D4257E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D4257E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4257E#FFFFFF#000000##FFFFFF
##D4257E1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D80
Deuteranopia (green-blind)
#7E7D7A
Tritanopia (blue-blind)
#E60050
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d4257e;
/* rgb */ color: rgb(212, 37, 126);
/* oklch */ color: oklch(58.1% 0.217 356.3);
Tailwind
colors: {
  custom: {
    50: '#e775a3',
    500: '#d4257e',
    950: '#000000',
  },
}
SCSS
$custom: #d4257e;
$custom-light: #e775a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d4257e",
  "rgb": {
    "r": 212,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 329.486,
    "s": 70.281,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58076,
    "c": 0.21684,
    "h": 356.3
  },
  "luminance": 0.16827
}

Semantic roles & 50–950 ramp

primary
#D4257E
secondary
#81D4AA
accent
#ED923B
background
#FFF7FA
surface
#FEEEF3
border
#D6C9CD
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D4257E

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

Preview Lab → · Contrast checker → · Palette generator →

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