#DC7BA2#DC7BA2

#DC7BA2 is a light, vivid pink. Relative luminance 0.320; OKLCH L 70.1% C 0.128 H 355.4°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#DC7BA2
RGBrgb(220, 123, 162)
HSLhsl(336, 58%, 67%)
HSVhsv(336, 44%, 86%)
CMYKcmyk(0%, 44.1%, 26.4%, 13.7%)
CIE-LABlab(63.34, 42.22, -4.12)
CIE-LCHlch(63.34, 42.43, 354.43°)
OKLaboklab(70.05% 0.1274 -0.0103)
OKLCHoklch(70.05% 0.128 355.4)
XYZxyz(43.1211, 31.9936, 38.0797)
Luminance0.3199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7BA2 #7BDCB5
analogous
#DC7BD3 #DC7BA2 #DC847B
triadic
#DC7BA2 #A2DC7B #7BA2DC
tetradic
#DC7BA2 #D3DC7B #7BDCB5 #847BDC
square
#DC7BA2 #D3DC7B #7BDCB5 #847BDC
split-complementary
#DC7BA2 #7BDC84 #7BD3DC
monochromatic
#AE2E62 #CF4B80 #DC7BA2 #E9ABC4 #F6DCE6

Accessibility & contrast

On white

2.84
#DC7BA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#DC7BA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7BA2
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7BA2#FFFFFF#000000##000000
##DC7BA21.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#878FA3
Deuteranopia (green-blind)
#A0A0A0
Tritanopia (blue-blind)
#E97689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #dc7ba2;
/* rgb */ color: rgb(220, 123, 162);
/* oklch */ color: oklch(70.1% 0.128 355.4);
Tailwind
colors: {
  custom: {
    50: '#e9a3bd',
    500: '#dc7ba2',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ba2;
$custom-light: #e9a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ba2",
  "rgb": {
    "r": 220,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 335.876,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70053,
    "c": 0.12782,
    "h": 355.4
  },
  "luminance": 0.3199
}

Semantic roles & 50–950 ramp

primary
#DC7BA2
secondary
#CAE9DC
accent
#C68320
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #DC7BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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