#7D1D66#7D1D66

#7D1D66 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.152 H 339.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7D1D66
RGBrgb(125, 29, 102)
HSLhsl(314, 62%, 30%)
HSVhsv(314, 77%, 49%)
CMYKcmyk(0%, 76.8%, 18.4%, 51%)
CIE-LABlab(29.91, 47.94, -19.75)
CIE-LCHlch(29.91, 51.85, 337.60°)
OKLaboklab(41.6% 0.1427 -0.0534)
OKLCHoklch(41.6% 0.152 339.5)
XYZxyz(11.2954, 6.1991, 13.1695)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D66 #1D7D34
analogous
#641D7D #7D1D66 #7D1D36
triadic
#7D1D66 #667D1D #1D667D
tetradic
#7D1D66 #7D641D #1D7D34 #1D367D
square
#7D1D66 #7D641D #1D7D34 #1D367D
split-complementary
#7D1D66 #367D1D #1D7D64
monochromatic
#1A0615 #4B113D #7D1D66 #AF298F #D341B0

Accessibility & contrast

On white

9.38
#7D1D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7D1D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D66
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D66#FFFFFF#000000##FFFFFF
##7D1D661.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233D68
Deuteranopia (green-blind)
#434C64
Tritanopia (blue-blind)
#85213F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1d66;
/* rgb */ color: rgb(125, 29, 102);
/* oklch */ color: oklch(41.6% 0.152 339.5);
Tailwind
colors: {
  custom: {
    50: '#a66492',
    500: '#7d1d66',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d66;
$custom-light: #a66492;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d66",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 102
  },
  "hsl": {
    "h": 314.375,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41596,
    "c": 0.15236,
    "h": 339.5
  },
  "luminance": 0.06198
}

Semantic roles & 50–950 ramp

primary
#7D1D66
secondary
#45B15F
accent
#E56942
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #7D1D66

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

Preview Lab → · Contrast checker → · Palette generator →

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