#D257BC#D257BC

#D257BC is a light, vivid pink. Relative luminance 0.241; OKLCH L 64.8% C 0.193 H 335.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#D257BC
RGBrgb(210, 87, 188)
HSLhsl(311, 58%, 58%)
HSVhsv(311, 59%, 82%)
CMYKcmyk(0%, 58.6%, 10.5%, 17.6%)
CIE-LABlab(56.24, 60.37, -29.93)
CIE-LCHlch(56.24, 67.38, 333.63°)
OKLaboklab(64.78% 0.1753 -0.0813)
OKLCHoklch(64.78% 0.193 335.1)
XYZxyz(39.0639, 24.1519, 50.1715)
Luminance0.2415 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257BC #57D26D
analogous
#AA57D2 #D257BC #D2577E
triadic
#D257BC #BCD257 #57BCD2
tetradic
#D257BC #D2AA57 #57D26D #577ED2
square
#D257BC #D2AA57 #57D26D #577ED2
split-complementary
#D257BC #7ED257 #57D2AA
monochromatic
#8A2578 #BA32A2 #D257BC #DF87CF #ECB8E3

Accessibility & contrast

On white

3.60
#D257BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#D257BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257BC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257BC#FFFFFF#000000##000000
##D257BC1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#577BBF
Deuteranopia (green-blind)
#7D8EB9
Tritanopia (blue-blind)
#DB5E82
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d257bc;
/* rgb */ color: rgb(210, 87, 188);
/* oklch */ color: oklch(64.8% 0.193 335.1);
Tailwind
colors: {
  custom: {
    50: '#e38dd0',
    500: '#d257bc',
    950: '#000000',
  },
}
SCSS
$custom: #d257bc;
$custom-light: #e38dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#d257bc",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 310.732,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64782,
    "c": 0.19328,
    "h": 335.1
  },
  "luminance": 0.24149
}

Semantic roles & 50–950 ramp

primary
#D257BC
secondary
#AADBB3
accent
#E16247
background
#FEF9FC
surface
#FCF1F9
border
#D5CBD2
text
#160D14
muted
#847E82

Preview Lab

Preview with #D257BC

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

Preview Lab → · Contrast checker → · Palette generator →

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