#7D1A5E#7D1A5E

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

Color values

HEX#7D1A5E
RGBrgb(125, 26, 94)
HSLhsl(319, 66%, 30%)
HSVhsv(319, 79%, 49%)
CMYKcmyk(0%, 79.2%, 24.8%, 51%)
CIE-LABlab(29.18, 47.79, -15.69)
CIE-LCHlch(29.18, 50.30, 341.82°)
OKLaboklab(40.94% 0.1444 -0.0419)
OKLCHoklch(40.94% 0.15 343.8)
XYZxyz(10.8477, 5.9081, 11.1566)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A5E #1A7D39
analogous
#6B1A7D #7D1A5E #7D1A2C
triadic
#7D1A5E #5E7D1A #1A5E7D
tetradic
#7D1A5E #7D6B1A #1A7D39 #1A2C7D
square
#7D1A5E #7D6B1A #1A7D39 #1A2C7D
split-complementary
#7D1A5E #2C7D1A #1A7D6B
monochromatic
#190513 #4A0F38 #7D1A5E #B02584 #D63BA6

Accessibility & contrast

On white

9.63
#7D1A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1A5E
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A5E#FFFFFF#000000##FFFFFF
##7D1A5E1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263A60
Deuteranopia (green-blind)
#454B5C
Tritanopia (blue-blind)
#861A3A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1a5e;
/* rgb */ color: rgb(125, 26, 94);
/* oklch */ color: oklch(40.9% 0.150 343.8);
Tailwind
colors: {
  custom: {
    50: '#a6628b',
    500: '#7d1a5e',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a5e;
$custom-light: #a6628b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a5e",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 94
  },
  "hsl": {
    "h": 318.788,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40944,
    "c": 0.15038,
    "h": 343.8
  },
  "luminance": 0.05907
}

Semantic roles & 50–950 ramp

primary
#7D1A5E
secondary
#42B165
accent
#E9743F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D1A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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