#7D216A#7D216A

#7D216A is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.150 H 337.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7D216A
RGBrgb(125, 33, 106)
HSLhsl(312, 58%, 31%)
HSVhsv(312, 74%, 49%)
CMYKcmyk(0%, 73.6%, 15.2%, 51%)
CIE-LABlab(30.62, 47.11, -21.23)
CIE-LCHlch(30.62, 51.67, 335.74°)
OKLaboklab(42.17% 0.1389 -0.0576)
OKLCHoklch(42.17% 0.15 337.5)
XYZxyz(11.6030, 6.4894, 14.2744)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D216A #217D34
analogous
#62217D #7D216A #7D213C
triadic
#7D216A #6A7D21 #216A7D
tetradic
#7D216A #7D6221 #217D34 #213C7D
square
#7D216A #7D6221 #217D34 #213C7D
split-complementary
#7D216A #3C7D21 #217D62
monochromatic
#1C0718 #4D1441 #7D216A #AD2E93 #CF49B3

Accessibility & contrast

On white

9.14
#7D216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7D216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D216A
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D216A#FFFFFF#000000##FFFFFF
##7D216A1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243F6C
Deuteranopia (green-blind)
#434D68
Tritanopia (blue-blind)
#842642
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d216a;
/* rgb */ color: rgb(125, 33, 106);
/* oklch */ color: oklch(42.2% 0.150 337.5);
Tailwind
colors: {
  custom: {
    50: '#a66595',
    500: '#7d216a',
    950: '#000000',
  },
}
SCSS
$custom: #7d216a;
$custom-light: #a66595;
$custom-dark: #000000;
JSON
{
  "hex": "#7d216a",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 312.391,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42171,
    "c": 0.15041,
    "h": 337.5
  },
  "luminance": 0.06488
}

Semantic roles & 50–950 ramp

primary
#7D216A
secondary
#4AB05F
accent
#E16646
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D216A

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

Preview Lab → · Contrast checker → · Palette generator →

#7D216A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva