#D7457F#D7457F

#D7457F is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.2% C 0.188 H 0.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#D7457F
RGBrgb(215, 69, 127)
HSLhsl(336, 65%, 56%)
HSVhsv(336, 68%, 84%)
CMYKcmyk(0%, 67.9%, 40.9%, 15.7%)
CIE-LABlab(52.11, 61.32, -0.27)
CIE-LCHlch(52.11, 61.32, 359.75°)
OKLaboklab(61.17% 0.1878 0)
OKLCHoklch(61.17% 0.188 0)
XYZxyz(33.9856, 20.2398, 22.1915)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7457F #45D79D
analogous
#D745C8 #D7457F #D75445
triadic
#D7457F #7FD745 #457FD7
tetradic
#D7457F #C8D745 #45D79D #5445D7
square
#D7457F #C8D745 #45D79D #5445D7
split-complementary
#D7457F #45D754 #45C8D7
monochromatic
#851D46 #B72761 #D7457F #E277A2 #EDAAC4

Accessibility & contrast

On white

4.16
#D7457F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#D7457F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7457F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7457F#FFFFFF#000000##000000
##D7457F1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#626B81
Deuteranopia (green-blind)
#8A877C
Tritanopia (blue-blind)
#E8335D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d7457f;
/* rgb */ color: rgb(215, 69, 127);
/* oklch */ color: oklch(61.2% 0.188 0.0);
Tailwind
colors: {
  custom: {
    50: '#e882a4',
    500: '#d7457f',
    950: '#000000',
  },
}
SCSS
$custom: #d7457f;
$custom-light: #e882a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d7457f",
  "rgb": {
    "r": 215,
    "g": 69,
    "b": 127
  },
  "hsl": {
    "h": 336.164,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61166,
    "c": 0.1878,
    "h": 0
  },
  "luminance": 0.20236
}

Semantic roles & 50–950 ramp

primary
#D7457F
secondary
#9EDAC2
accent
#E8A540
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D7457F

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

Preview Lab → · Contrast checker → · Palette generator →

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