#7D216C#7D216C

#7D216C is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.152 H 336.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7D216C
RGBrgb(125, 33, 108)
HSLhsl(311, 58%, 31%)
HSVhsv(311, 74%, 49%)
CMYKcmyk(0%, 73.6%, 13.6%, 51%)
CIE-LABlab(30.72, 47.42, -22.35)
CIE-LCHlch(30.72, 52.43, 334.76°)
OKLaboklab(42.28% 0.1392 -0.0609)
OKLCHoklch(42.28% 0.152 336.4)
XYZxyz(11.7083, 6.5314, 14.8285)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D216C #217D32
analogous
#60217D #7D216C #7D213E
triadic
#7D216C #6C7D21 #216C7D
tetradic
#7D216C #7D6021 #217D32 #213E7D
square
#7D216C #7D6021 #217D32 #213E7D
split-complementary
#7D216C #3E7D21 #217D60
monochromatic
#1C0718 #4D1442 #7D216C #AD2E96 #CF49B6

Accessibility & contrast

On white

9.11
#7D216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7D216C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D216C
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D216C#FFFFFF#000000##FFFFFF
##7D216C1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233F6E
Deuteranopia (green-blind)
#424D6A
Tritanopia (blue-blind)
#842744
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d216c;
/* rgb */ color: rgb(125, 33, 108);
/* oklch */ color: oklch(42.3% 0.152 336.4);
Tailwind
colors: {
  custom: {
    50: '#a66696',
    500: '#7d216c',
    950: '#000000',
  },
}
SCSS
$custom: #7d216c;
$custom-light: #a66696;
$custom-dark: #000000;
JSON
{
  "hex": "#7d216c",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 311.087,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42277,
    "c": 0.1519,
    "h": 336.4
  },
  "luminance": 0.0653
}

Semantic roles & 50–950 ramp

primary
#7D216C
secondary
#4AB05D
accent
#E16346
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D216C

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

Preview Lab → · Contrast checker → · Palette generator →

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