#7D1A5D#7D1A5D

#7D1A5D is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.150 H 344.4°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7D1A5D
RGBrgb(125, 26, 93)
HSLhsl(319, 66%, 30%)
HSVhsv(319, 79%, 49%)
CMYKcmyk(0%, 79.2%, 25.6%, 51%)
CIE-LABlab(29.13, 47.66, -15.11)
CIE-LCHlch(29.13, 50.00, 342.41°)
OKLaboklab(40.9% 0.1442 -0.0403)
OKLCHoklch(40.9% 0.15 344.4)
XYZxyz(10.8031, 5.8902, 10.9218)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A5D #1A7D3A
analogous
#6C1A7D #7D1A5D #7D1A2C
triadic
#7D1A5D #5D7D1A #1A5D7D
tetradic
#7D1A5D #7D6C1A #1A7D3A #1A2C7D
square
#7D1A5D #7D6C1A #1A7D3A #1A2C7D
split-complementary
#7D1A5D #2C7D1A #1A7D6C
monochromatic
#190513 #4A0F37 #7D1A5D #B02583 #D63BA4

Accessibility & contrast

On white

9.64
#7D1A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7D1A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A5D
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A5D#FFFFFF#000000##FFFFFF
##7D1A5D1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263A5F
Deuteranopia (green-blind)
#454B5B
Tritanopia (blue-blind)
#861939
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1a5d;
/* rgb */ color: rgb(125, 26, 93);
/* oklch */ color: oklch(40.9% 0.150 344.4);
Tailwind
colors: {
  custom: {
    50: '#a6628b',
    500: '#7d1a5d',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a5d;
$custom-light: #a6628b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a5d",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 319.394,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40896,
    "c": 0.14974,
    "h": 344.4
  },
  "luminance": 0.05889
}

Semantic roles & 50–950 ramp

primary
#7D1A5D
secondary
#42B166
accent
#E9763F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D1A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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