#D970C2#D970C2

#D970C2 is a light, vivid pink. Relative luminance 0.302; OKLCH L 69.2% C 0.164 H 336.1°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#D970C2
RGBrgb(217, 112, 194)
HSLhsl(313, 58%, 65%)
HSVhsv(313, 48%, 85%)
CMYKcmyk(0%, 48.4%, 10.6%, 14.9%)
CIE-LABlab(61.86, 51.62, -24.60)
CIE-LCHlch(61.86, 57.18, 334.52°)
OKLaboklab(69.22% 0.1498 -0.0664)
OKLCHoklch(69.22% 0.164 336.1)
XYZxyz(44.1472, 30.2380, 54.5397)
Luminance0.3024 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D970C2 #70D987
analogous
#BC70D9 #D970C2 #D9708E
triadic
#D970C2 #C2D970 #70C2D9
tetradic
#D970C2 #D9BC70 #70D987 #708ED9
square
#D970C2 #D9BC70 #70D987 #708ED9
split-complementary
#D970C2 #8ED970 #70D9BC
monochromatic
#A32B89 #CC40AD #D970C2 #E6A0D7 #F3D1EB

Accessibility & contrast

On white

2.98
#D970C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#D970C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D970C2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D970C2#FFFFFF#000000##000000
##D970C21.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#718CC5
Deuteranopia (green-blind)
#8E9BBF
Tritanopia (blue-blind)
#E27490
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d970c2;
/* rgb */ color: rgb(217, 112, 194);
/* oklch */ color: oklch(69.2% 0.164 336.1);
Tailwind
colors: {
  custom: {
    50: '#e79cd4',
    500: '#d970c2',
    950: '#000000',
  },
}
SCSS
$custom: #d970c2;
$custom-light: #e79cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#d970c2",
  "rgb": {
    "r": 217,
    "g": 112,
    "b": 194
  },
  "hsl": {
    "h": 313.143,
    "s": 58.011,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69218,
    "c": 0.16384,
    "h": 336.1
  },
  "luminance": 0.30235
}

Semantic roles & 50–950 ramp

primary
#D970C2
secondary
#C0E5C8
accent
#C64420
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D970C2

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

Preview Lab → · Contrast checker → · Palette generator →

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