#DC7FCB#DC7FCB

#DC7FCB is a light, vivid pink. Relative luminance 0.347; OKLCH L 72.1% C 0.148 H 334.1°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#DC7FCB
RGBrgb(220, 127, 203)
HSLhsl(311, 57%, 68%)
HSVhsv(311, 42%, 86%)
CMYKcmyk(0%, 42.3%, 7.7%, 13.7%)
CIE-LABlab(65.52, 46.47, -24.02)
CIE-LCHlch(65.52, 52.31, 332.67°)
OKLaboklab(72.15% 0.1333 -0.0648)
OKLCHoklch(72.15% 0.148 334.1)
XYZxyz(47.8839, 34.7089, 60.6657)
Luminance0.3471 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FCB #7FDC90
analogous
#BE7FDC #DC7FCB #DC7F9C
triadic
#DC7FCB #CBDC7F #7FCBDC
tetradic
#DC7FCB #DCBE7F #7FDC90 #7F9CDC
square
#DC7FCB #DCBE7F #7FDC90 #7F9CDC
split-complementary
#DC7FCB #9CDC7F #7FDCBE
monochromatic
#B03099 #CF4FB7 #DC7FCB #E9AFDF #F6DFF2

Accessibility & contrast

On white

2.64
#DC7FCB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#DC7FCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FCB
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FCB#FFFFFF#000000##000000
##DC7FCB1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E97CE
Deuteranopia (green-blind)
#97A4C8
Tritanopia (blue-blind)
#E4849C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc7fcb;
/* rgb */ color: rgb(220, 127, 203);
/* oklch */ color: oklch(72.1% 0.148 334.1);
Tailwind
colors: {
  custom: {
    50: '#e8a6db',
    500: '#dc7fcb',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fcb;
$custom-light: #e8a6db;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fcb",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 310.968,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72149,
    "c": 0.14826,
    "h": 334.1
  },
  "luminance": 0.34706
}

Semantic roles & 50–950 ramp

primary
#DC7FCB
secondary
#CDEAD2
accent
#C53F21
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DC7FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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