#7D1E6D#7D1E6D

#7D1E6D is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.156 H 335.8°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#7D1E6D
RGBrgb(125, 30, 109)
HSLhsl(310, 61%, 30%)
HSVhsv(310, 76%, 49%)
CMYKcmyk(0%, 76%, 12.8%, 51%)
CIE-LABlab(30.38, 48.66, -23.51)
CIE-LCHlch(30.38, 54.05, 334.21°)
OKLaboklab(42.05% 0.1425 -0.0641)
OKLCHoklch(42.05% 0.156 335.8)
XYZxyz(11.6822, 6.3937, 15.0839)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E6D #1E7D2E
analogous
#5D1E7D #7D1E6D #7D1E3E
triadic
#7D1E6D #6D7D1E #1E6D7D
tetradic
#7D1E6D #7D5D1E #1E7D2E #1E3E7D
square
#7D1E6D #7D5D1E #1E7D2E #1E3E7D
split-complementary
#7D1E6D #3E7D1E #1E7D5D
monochromatic
#1A0617 #4C1242 #7D1E6D #AE2A98 #D243BA

Accessibility & contrast

On white

9.22
#7D1E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7D1E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E6D
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E6D#FFFFFF#000000##FFFFFF
##7D1E6D1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3E6F
Deuteranopia (green-blind)
#404D6B
Tritanopia (blue-blind)
#842543
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1e6d;
/* rgb */ color: rgb(125, 30, 109);
/* oklch */ color: oklch(42.1% 0.156 335.8);
Tailwind
colors: {
  custom: {
    50: '#a66497',
    500: '#7d1e6d',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e6d;
$custom-light: #a66497;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e6d",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 109
  },
  "hsl": {
    "h": 310.105,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42054,
    "c": 0.15627,
    "h": 335.8
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#7D1E6D
secondary
#46B058
accent
#E45F43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D1E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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