#7D1D5B#7D1D5B

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

Color values

HEX#7D1D5B
RGBrgb(125, 29, 91)
HSLhsl(321, 62%, 30%)
HSVhsv(321, 77%, 49%)
CMYKcmyk(0%, 76.8%, 27.2%, 51%)
CIE-LABlab(29.40, 46.38, -13.39)
CIE-LCHlch(29.40, 48.27, 343.89°)
OKLaboklab(41.06% 0.1407 -0.0355)
OKLCHoklch(41.06% 0.145 345.8)
XYZxyz(10.7856, 5.9952, 10.4847)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D5B #1D7D3F
analogous
#6F1D7D #7D1D5B #7D1D2B
triadic
#7D1D5B #5B7D1D #1D5B7D
tetradic
#7D1D5B #7D6F1D #1D7D3F #1D2B7D
square
#7D1D5B #7D6F1D #1D7D3F #1D2B7D
split-complementary
#7D1D5B #2B7D1D #1D7D6F
monochromatic
#1A0613 #4B1137 #7D1D5B #AF297F #D3419F

Accessibility & contrast

On white

9.55
#7D1D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1D5B
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D5B#FFFFFF#000000##FFFFFF
##7D1D5B1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3B5D
Deuteranopia (green-blind)
#464B59
Tritanopia (blue-blind)
#861B39
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1d5b;
/* rgb */ color: rgb(125, 29, 91);
/* oklch */ color: oklch(41.1% 0.145 345.8);
Tailwind
colors: {
  custom: {
    50: '#a66389',
    500: '#7d1d5b',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d5b;
$custom-light: #a66389;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d5b",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 91
  },
  "hsl": {
    "h": 321.25,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4106,
    "c": 0.14511,
    "h": 345.8
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

primary
#7D1D5B
secondary
#45B16B
accent
#E57C42
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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