#7D215E#7D215E

#7D215E is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.142 H 344.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7D215E
RGBrgb(125, 33, 94)
HSLhsl(320, 58%, 31%)
HSVhsv(320, 74%, 49%)
CMYKcmyk(0%, 73.6%, 24.8%, 51%)
CIE-LABlab(30.05, 45.33, -14.35)
CIE-LCHlch(30.05, 47.54, 342.43°)
OKLaboklab(41.58% 0.1368 -0.0382)
OKLCHoklch(41.58% 0.142 344.4)
XYZxyz(11.0221, 6.2570, 11.2148)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D215E #217D40
analogous
#6E217D #7D215E #7D2130
triadic
#7D215E #5E7D21 #215E7D
tetradic
#7D215E #7D6E21 #217D40 #21307D
square
#7D215E #7D6E21 #217D40 #21307D
split-complementary
#7D215E #307D21 #217D6E
monochromatic
#1C0715 #4D143A #7D215E #AD2E82 #CF49A2

Accessibility & contrast

On white

9.33
#7D215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7D215E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D215E
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D215E#FFFFFF#000000##FFFFFF
##7D215E1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D60
Deuteranopia (green-blind)
#474C5C
Tritanopia (blue-blind)
#85203C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d215e;
/* rgb */ color: rgb(125, 33, 94);
/* oklch */ color: oklch(41.6% 0.142 344.4);
Tailwind
colors: {
  custom: {
    50: '#a6658b',
    500: '#7d215e',
    950: '#000000',
  },
}
SCSS
$custom: #7d215e;
$custom-light: #a6658b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d215e",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 320.217,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41578,
    "c": 0.14206,
    "h": 344.4
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#7D215E
secondary
#4AB06C
accent
#E17B46
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D215E

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

Preview Lab → · Contrast checker → · Palette generator →

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