#7D1A62#7D1A62

#7D1A62 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.153 H 341.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#7D1A62
RGBrgb(125, 26, 98)
HSLhsl(316, 66%, 30%)
HSVhsv(316, 79%, 49%)
CMYKcmyk(0%, 79.2%, 21.6%, 51%)
CIE-LABlab(29.37, 48.35, -18.01)
CIE-LCHlch(29.37, 51.60, 339.57°)
OKLaboklab(41.14% 0.1451 -0.0484)
OKLCHoklch(41.14% 0.153 341.5)
XYZxyz(11.0318, 5.9817, 12.1265)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A62 #1A7D35
analogous
#671A7D #7D1A62 #7D1A30
triadic
#7D1A62 #627D1A #1A627D
tetradic
#7D1A62 #7D671A #1A7D35 #1A307D
square
#7D1A62 #7D671A #1A7D35 #1A307D
split-complementary
#7D1A62 #307D1A #1A7D67
monochromatic
#190514 #4A0F3A #7D1A62 #B0258A #D63BAC

Accessibility & contrast

On white

9.56
#7D1A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7D1A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A62
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A62#FFFFFF#000000##FFFFFF
##7D1A621.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233B64
Deuteranopia (green-blind)
#434B60
Tritanopia (blue-blind)
#851C3C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1a62;
/* rgb */ color: rgb(125, 26, 98);
/* oklch */ color: oklch(41.1% 0.153 341.5);
Tailwind
colors: {
  custom: {
    50: '#a6628f',
    500: '#7d1a62',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a62;
$custom-light: #a6628f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a62",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 98
  },
  "hsl": {
    "h": 316.364,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4114,
    "c": 0.15298,
    "h": 341.5
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#7D1A62
secondary
#42B160
accent
#E96D3F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D1A62

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

Preview Lab → · Contrast checker → · Palette generator →

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