#DC7FB2#DC7FB2

#DC7FB2 is a light, vivid pink. Relative luminance 0.336; OKLCH L 71.2% C 0.130 H 346.8°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#DC7FB2
RGBrgb(220, 127, 178)
HSLhsl(327, 57%, 68%)
HSVhsv(327, 42%, 86%)
CMYKcmyk(0%, 42.3%, 19.1%, 13.7%)
CIE-LABlab(64.65, 42.46, -11.25)
CIE-LCHlch(64.65, 43.93, 345.16°)
OKLaboklab(71.21% 0.1264 -0.0295)
OKLCHoklch(71.21% 0.13 346.8)
XYZxyz(45.1412, 33.6118, 46.2210)
Luminance0.3361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FB2 #7FDCA9
analogous
#D77FDC #DC7FB2 #DC7F83
triadic
#DC7FB2 #B2DC7F #7FB2DC
tetradic
#DC7FB2 #DCD77F #7FDCA9 #7F83DC
square
#DC7FB2 #DCD77F #7FDCA9 #7F83DC
split-complementary
#DC7FB2 #83DC7F #7FDCD7
monochromatic
#B03076 #CF4F95 #DC7FB2 #E9AFCF #F6DFEC

Accessibility & contrast

On white

2.72
#DC7FB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#DC7FB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FB2
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FB2#FFFFFF#000000##000000
##DC7FB21.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8793B4
Deuteranopia (green-blind)
#9EA3B0
Tritanopia (blue-blind)
#E77E92
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #dc7fb2;
/* rgb */ color: rgb(220, 127, 178);
/* oklch */ color: oklch(71.2% 0.130 346.8);
Tailwind
colors: {
  custom: {
    50: '#e9a6c9',
    500: '#dc7fb2',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fb2;
$custom-light: #e9a6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fb2",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 327.097,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71209,
    "c": 0.12978,
    "h": 346.8
  },
  "luminance": 0.33609
}

Semantic roles & 50–950 ramp

primary
#DC7FB2
secondary
#CDEADA
accent
#C56B21
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#160F13
muted
#847F82

Preview Lab

Preview with #DC7FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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