#D970C7#D970C7

#D970C7 is a light, vivid pink. Relative luminance 0.305; OKLCH L 69.4% C 0.168 H 334.0°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#D970C7
RGBrgb(217, 112, 199)
HSLhsl(310, 58%, 65%)
HSVhsv(310, 48%, 85%)
CMYKcmyk(0%, 48.4%, 8.3%, 14.9%)
CIE-LABlab(62.05, 52.44, -27.13)
CIE-LCHlch(62.05, 59.04, 332.65°)
OKLaboklab(69.43% 0.1509 -0.0735)
OKLCHoklch(69.43% 0.168 334)
XYZxyz(44.7182, 30.4664, 57.5470)
Luminance0.3046 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D970C7 #70D982
analogous
#B770D9 #D970C7 #D97093
triadic
#D970C7 #C7D970 #70C7D9
tetradic
#D970C7 #D9B770 #70D982 #7093D9
square
#D970C7 #D9B770 #70D982 #7093D9
split-complementary
#D970C7 #93D970 #70D9B7
monochromatic
#A32B8F #CC40B4 #D970C7 #E6A0DA #F3D1ED

Accessibility & contrast

On white

2.96
#D970C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#D970C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D970C7
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D970C7#FFFFFF#000000##000000
##D970C71.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8CCA
Deuteranopia (green-blind)
#8C9CC4
Tritanopia (blue-blind)
#E17692
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d970c7;
/* rgb */ color: rgb(217, 112, 199);
/* oklch */ color: oklch(69.4% 0.168 334.0);
Tailwind
colors: {
  custom: {
    50: '#e79cd8',
    500: '#d970c7',
    950: '#000000',
  },
}
SCSS
$custom: #d970c7;
$custom-light: #e79cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#d970c7",
  "rgb": {
    "r": 217,
    "g": 112,
    "b": 199
  },
  "hsl": {
    "h": 310.286,
    "s": 58.011,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69427,
    "c": 0.16784,
    "h": 334
  },
  "luminance": 0.30464
}

Semantic roles & 50–950 ramp

primary
#D970C7
secondary
#C0E5C6
accent
#C63C20
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D970C7

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

Preview Lab → · Contrast checker → · Palette generator →

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