#7D1D5F#7D1D5F

#7D1D5F is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.148 H 343.4°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7D1D5F
RGBrgb(125, 29, 95)
HSLhsl(319, 62%, 30%)
HSVhsv(319, 77%, 49%)
CMYKcmyk(0%, 76.8%, 24%, 51%)
CIE-LABlab(29.58, 46.93, -15.73)
CIE-LCHlch(29.58, 49.49, 341.47°)
OKLaboklab(41.25% 0.1415 -0.0421)
OKLCHoklch(41.25% 0.148 343.4)
XYZxyz(10.9628, 6.0661, 11.4178)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D5F #1D7D3B
analogous
#6B1D7D #7D1D5F #7D1D2F
triadic
#7D1D5F #5F7D1D #1D5F7D
tetradic
#7D1D5F #7D6B1D #1D7D3B #1D2F7D
square
#7D1D5F #7D6B1D #1D7D3B #1D2F7D
split-complementary
#7D1D5F #2F7D1D #1D7D6B
monochromatic
#1A0613 #4B1139 #7D1D5F #AF2985 #D341A6

Accessibility & contrast

On white

9.49
#7D1D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1D5F
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D5F#FFFFFF#000000##FFFFFF
##7D1D5F1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273C61
Deuteranopia (green-blind)
#454B5D
Tritanopia (blue-blind)
#851D3B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1d5f;
/* rgb */ color: rgb(125, 29, 95);
/* oklch */ color: oklch(41.2% 0.148 343.4);
Tailwind
colors: {
  custom: {
    50: '#a6638c',
    500: '#7d1d5f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d5f;
$custom-light: #a6638c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d5f",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 95
  },
  "hsl": {
    "h": 318.75,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41248,
    "c": 0.14763,
    "h": 343.4
  },
  "luminance": 0.06065
}

Semantic roles & 50–950 ramp

primary
#7D1D5F
secondary
#45B167
accent
#E57542
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D1D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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