#DE7FA2#DE7FA2

#DE7FA2 is a light, vivid pink. Relative luminance 0.333; OKLCH L 70.9% C 0.123 H 357.2°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#DE7FA2
RGBrgb(222, 127, 162)
HSLhsl(338, 59%, 68%)
HSVhsv(338, 43%, 87%)
CMYKcmyk(0%, 42.8%, 27%, 12.9%)
CIE-LABlab(64.42, 40.85, -2.50)
CIE-LCHlch(64.42, 40.92, 356.50°)
OKLaboklab(70.93% 0.1234 -0.006)
OKLCHoklch(70.93% 0.124 357.2)
XYZxyz(44.2365, 33.3204, 38.2770)
Luminance0.3332 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7FA2 #7FDEBB
analogous
#DE7FD1 #DE7FA2 #DE8B7F
triadic
#DE7FA2 #A2DE7F #7FA2DE
tetradic
#DE7FA2 #D1DE7F #7FDEBB #8B7FDE
square
#DE7FA2 #D1DE7F #7FDEBB #8B7FDE
split-complementary
#DE7FA2 #7FDE8B #7FD1DE
monochromatic
#B42E60 #D14E7F #DE7FA2 #EBB0C5 #F7E0E9

Accessibility & contrast

On white

2.74
#DE7FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#DE7FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7FA2
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7FA2#FFFFFF#000000##000000
##DE7FA21.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #de7fa2;
/* rgb */ color: rgb(222, 127, 162);
/* oklch */ color: oklch(70.9% 0.123 357.2);
Tailwind
colors: {
  custom: {
    50: '#eaa6bd',
    500: '#de7fa2',
    950: '#000000',
  },
}
SCSS
$custom: #de7fa2;
$custom-light: #eaa6bd;
$custom-dark: #000000;
JSON
{
  "hex": "#de7fa2",
  "rgb": {
    "r": 222,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 337.895,
    "s": 59.006,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70926,
    "c": 0.1235,
    "h": 357.2
  },
  "luminance": 0.33317
}

Semantic roles & 50–950 ramp

primary
#DE7FA2
secondary
#CEEBE0
accent
#C7891F
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #DE7FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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