#D257A2#D257A2

#D257A2 is a light, vivid pink. Relative luminance 0.231; OKLCH L 63.7% C 0.175 H 345.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#D257A2
RGBrgb(210, 87, 162)
HSLhsl(323, 58%, 58%)
HSVhsv(323, 59%, 82%)
CMYKcmyk(0%, 58.6%, 22.9%, 17.6%)
CIE-LABlab(55.21, 56.54, -16.44)
CIE-LCHlch(55.21, 58.88, 343.79°)
OKLaboklab(63.68% 0.1699 -0.0435)
OKLCHoklch(63.68% 0.175 345.6)
XYZxyz(36.5093, 23.1300, 36.7172)
Luminance0.2313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257A2 #57D287
analogous
#C457D2 #D257A2 #D25764
triadic
#D257A2 #A2D257 #57A2D2
tetradic
#D257A2 #D2C457 #57D287 #5764D2
square
#D257A2 #D2C457 #57D287 #5764D2
split-complementary
#D257A2 #64D257 #57D2C4
monochromatic
#8A2562 #BA3285 #D257A2 #DF87BD #ECB8D7

Accessibility & contrast

On white

3.73
#D257A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#D257A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257A2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257A2#FFFFFF#000000##000000
##D257A21.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6377A4
Deuteranopia (green-blind)
#858C9F
Tritanopia (blue-blind)
#DF5575
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d257a2;
/* rgb */ color: rgb(210, 87, 162);
/* oklch */ color: oklch(63.7% 0.175 345.6);
Tailwind
colors: {
  custom: {
    50: '#e38cbd',
    500: '#d257a2',
    950: '#000000',
  },
}
SCSS
$custom: #d257a2;
$custom-light: #e38cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#d257a2",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 323.415,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63682,
    "c": 0.17539,
    "h": 345.6
  },
  "luminance": 0.23127
}

Semantic roles & 50–950 ramp

primary
#D257A2
secondary
#AADBBD
accent
#E18347
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160D12
muted
#847D81

Preview Lab

Preview with #D257A2

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

Preview Lab → · Contrast checker → · Palette generator →

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