#7D1866#7D1866

#7D1866 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.2% C 0.158 H 339.3°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#7D1866
RGBrgb(125, 24, 102)
HSLhsl(314, 68%, 29%)
HSVhsv(314, 81%, 49%)
CMYKcmyk(0%, 80.8%, 18.4%, 51%)
CIE-LABlab(29.35, 49.55, -20.63)
CIE-LCHlch(29.35, 53.67, 337.39°)
OKLaboklab(41.19% 0.1476 -0.0559)
OKLCHoklch(41.19% 0.158 339.3)
XYZxyz(11.1827, 5.9737, 13.1319)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1866 #187D2F
analogous
#62187D #7D1866 #7D1834
triadic
#7D1866 #667D18 #18667D
tetradic
#7D1866 #7D6218 #187D2F #18347D
square
#7D1866 #7D6218 #187D2F #18347D
split-complementary
#7D1866 #347D18 #187D62
monochromatic
#1A0515 #4A0E3C #7D1866 #B02290 #D937B4

Accessibility & contrast

On white

9.57
#7D1866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7D1866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1866
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1866#FFFFFF#000000##FFFFFF
##7D18661.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3B68
Deuteranopia (green-blind)
#414B64
Tritanopia (blue-blind)
#851D3E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1866;
/* rgb */ color: rgb(125, 24, 102);
/* oklch */ color: oklch(41.2% 0.158 339.3);
Tailwind
colors: {
  custom: {
    50: '#a66292',
    500: '#7d1866',
    950: '#000000',
  },
}
SCSS
$custom: #7d1866;
$custom-light: #a66292;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1866",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 102
  },
  "hsl": {
    "h": 313.663,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41189,
    "c": 0.15778,
    "h": 339.3
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#7D1866
secondary
#3FB259
accent
#EB653D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #7D1866

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

Preview Lab → · Contrast checker → · Palette generator →

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