#D970C5#D970C5

#D970C5 is a light, vivid pink. Relative luminance 0.304; OKLCH L 69.3% C 0.166 H 334.9°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#D970C5
RGBrgb(217, 112, 197)
HSLhsl(311, 58%, 65%)
HSVhsv(311, 48%, 85%)
CMYKcmyk(0%, 48.4%, 9.2%, 14.9%)
CIE-LABlab(61.98, 52.11, -26.12)
CIE-LCHlch(61.98, 58.29, 333.38°)
OKLaboklab(69.34% 0.1505 -0.0706)
OKLCHoklch(69.34% 0.166 334.9)
XYZxyz(44.4875, 30.3742, 56.3321)
Luminance0.3037 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D970C5 #70D984
analogous
#B970D9 #D970C5 #D97090
triadic
#D970C5 #C5D970 #70C5D9
tetradic
#D970C5 #D9B970 #70D984 #7090D9
square
#D970C5 #D9B970 #70D984 #7090D9
split-complementary
#D970C5 #90D970 #70D9B9
monochromatic
#A32B8C #CC40B1 #D970C5 #E6A0D9 #F3D1EC

Accessibility & contrast

On white

2.97
#D970C5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#D970C5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D970C5
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D970C5#FFFFFF#000000##000000
##D970C51.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#708CC8
Deuteranopia (green-blind)
#8D9BC2
Tritanopia (blue-blind)
#E27591
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d970c5;
/* rgb */ color: rgb(217, 112, 197);
/* oklch */ color: oklch(69.3% 0.166 334.9);
Tailwind
colors: {
  custom: {
    50: '#e79cd6',
    500: '#d970c5',
    950: '#000000',
  },
}
SCSS
$custom: #d970c5;
$custom-light: #e79cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#d970c5",
  "rgb": {
    "r": 217,
    "g": 112,
    "b": 197
  },
  "hsl": {
    "h": 311.429,
    "s": 58.011,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69343,
    "c": 0.16623,
    "h": 334.9
  },
  "luminance": 0.30371
}

Semantic roles & 50–950 ramp

primary
#D970C5
secondary
#C0E5C7
accent
#C63F20
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D970C5

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

Preview Lab → · Contrast checker → · Palette generator →

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