#DF7FA2#DF7FA2

#DF7FA2 is a light, vivid pink. Relative luminance 0.335; OKLCH L 71.0% C 0.125 H 357.5°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#DF7FA2
RGBrgb(223, 127, 162)
HSLhsl(338, 60%, 69%)
HSVhsv(338, 43%, 87%)
CMYKcmyk(0%, 43%, 27.4%, 12.5%)
CIE-LABlab(64.55, 41.19, -2.30)
CIE-LCHlch(64.55, 41.26, 356.81°)
OKLaboklab(71.05% 0.1244 -0.0055)
OKLCHoklch(71.05% 0.125 357.5)
XYZxyz(44.5438, 33.4788, 38.2914)
Luminance0.3347 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FA2 #7FDFBC
analogous
#DF7FD2 #DF7FA2 #DF8C7F
triadic
#DF7FA2 #A2DF7F #7FA2DF
tetradic
#DF7FA2 #D2DF7F #7FDFBC #8C7FDF
square
#DF7FA2 #D2DF7F #7FDFBC #8C7FDF
split-complementary
#DF7FA2 #7FDF8C #7FD2DF
monochromatic
#B62E5F #D34E7E #DF7FA2 #EBB0C6 #F7E1E9

Accessibility & contrast

On white

2.73
#DF7FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#DF7FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FA2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FA2#FFFFFF#000000##000000
##DF7FA21.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C92A3
Deuteranopia (green-blind)
#A4A3A0
Tritanopia (blue-blind)
#ED7A8B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #df7fa2;
/* rgb */ color: rgb(223, 127, 162);
/* oklch */ color: oklch(71.0% 0.125 357.5);
Tailwind
colors: {
  custom: {
    50: '#eba6bd',
    500: '#df7fa2',
    950: '#000000',
  },
}
SCSS
$custom: #df7fa2;
$custom-light: #eba6bd;
$custom-dark: #000000;
JSON
{
  "hex": "#df7fa2",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 338.125,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71049,
    "c": 0.12456,
    "h": 357.5
  },
  "luminance": 0.33475
}

Semantic roles & 50–950 ramp

primary
#DF7FA2
secondary
#CFEBE1
accent
#C88A1E
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #DF7FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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