#7D1D5C#7D1D5C

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

Color values

HEX#7D1D5C
RGBrgb(125, 29, 92)
HSLhsl(321, 62%, 30%)
HSVhsv(321, 77%, 49%)
CMYKcmyk(0%, 76.8%, 26.4%, 51%)
CIE-LABlab(29.44, 46.51, -13.98)
CIE-LCHlch(29.44, 48.57, 343.27°)
OKLaboklab(41.11% 0.1409 -0.0372)
OKLCHoklch(41.11% 0.146 345.2)
XYZxyz(10.8290, 6.0126, 10.7134)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D5C #1D7D3E
analogous
#6E1D7D #7D1D5C #7D1D2C
triadic
#7D1D5C #5C7D1D #1D5C7D
tetradic
#7D1D5C #7D6E1D #1D7D3E #1D2C7D
square
#7D1D5C #7D6E1D #1D7D3E #1D2C7D
split-complementary
#7D1D5C #2C7D1D #1D7D6E
monochromatic
#1A0613 #4B1137 #7D1D5C #AF2981 #D341A1

Accessibility & contrast

On white

9.54
#7D1D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1D5C
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D5C#FFFFFF#000000##FFFFFF
##7D1D5C1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293B5E
Deuteranopia (green-blind)
#464B5A
Tritanopia (blue-blind)
#861B3A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1d5c;
/* rgb */ color: rgb(125, 29, 92);
/* oklch */ color: oklch(41.1% 0.146 345.2);
Tailwind
colors: {
  custom: {
    50: '#a6638a',
    500: '#7d1d5c',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d5c;
$custom-light: #a6638a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d5c",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 92
  },
  "hsl": {
    "h": 320.625,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41107,
    "c": 0.14572,
    "h": 345.2
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#7D1D5C
secondary
#45B16A
accent
#E57A42
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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