#7D1D5E#7D1D5E

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

Color values

HEX#7D1D5E
RGBrgb(125, 29, 94)
HSLhsl(319, 62%, 30%)
HSVhsv(319, 77%, 49%)
CMYKcmyk(0%, 76.8%, 24.8%, 51%)
CIE-LABlab(29.53, 46.79, -15.15)
CIE-LCHlch(29.53, 49.18, 342.06°)
OKLaboklab(41.2% 0.1413 -0.0404)
OKLCHoklch(41.2% 0.147 344)
XYZxyz(10.9176, 6.0480, 11.1799)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D5E #1D7D3C
analogous
#6C1D7D #7D1D5E #7D1D2E
triadic
#7D1D5E #5E7D1D #1D5E7D
tetradic
#7D1D5E #7D6C1D #1D7D3C #1D2E7D
square
#7D1D5E #7D6C1D #1D7D3C #1D2E7D
split-complementary
#7D1D5E #2E7D1D #1D7D6C
monochromatic
#1A0613 #4B1139 #7D1D5E #AF2983 #D341A4

Accessibility & contrast

On white

9.50
#7D1D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7D1D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D5E
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D5E#FFFFFF#000000##FFFFFF
##7D1D5E1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283B60
Deuteranopia (green-blind)
#464B5C
Tritanopia (blue-blind)
#861C3B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1d5e;
/* rgb */ color: rgb(125, 29, 94);
/* oklch */ color: oklch(41.2% 0.147 344.0);
Tailwind
colors: {
  custom: {
    50: '#a6638b',
    500: '#7d1d5e',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d5e;
$custom-light: #a6638b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d5e",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 319.375,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41201,
    "c": 0.14699,
    "h": 344
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#7D1D5E
secondary
#45B168
accent
#E57742
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D1D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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