#7D1D6D#7D1D6D

#7D1D6D is a dark, vivid pink. Relative luminance 0.063; OKLCH L 42.0% C 0.157 H 335.7°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7D1D6D
RGBrgb(125, 29, 109)
HSLhsl(310, 62%, 30%)
HSVhsv(310, 77%, 49%)
CMYKcmyk(0%, 76.8%, 12.8%, 51%)
CIE-LABlab(30.26, 49.01, -23.70)
CIE-LCHlch(30.26, 54.44, 334.19°)
OKLaboklab(41.97% 0.1435 -0.0647)
OKLCHoklch(41.97% 0.157 335.7)
XYZxyz(11.6573, 6.3439, 15.0756)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D6D #1D7D2D
analogous
#5D1D7D #7D1D6D #7D1D3D
triadic
#7D1D6D #6D7D1D #1D6D7D
tetradic
#7D1D6D #7D5D1D #1D7D2D #1D3D7D
square
#7D1D6D #7D5D1D #1D7D2D #1D3D7D
split-complementary
#7D1D6D #3D7D1D #1D7D5D
monochromatic
#1A0616 #4B1142 #7D1D6D #AF2998 #D341BB

Accessibility & contrast

On white

9.26
#7D1D6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7D1D6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D6D
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D6D#FFFFFF#000000##FFFFFF
##7D1D6D1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3E6F
Deuteranopia (green-blind)
#404C6B
Tritanopia (blue-blind)
#842443
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1d6d;
/* rgb */ color: rgb(125, 29, 109);
/* oklch */ color: oklch(42.0% 0.157 335.7);
Tailwind
colors: {
  custom: {
    50: '#a66497',
    500: '#7d1d6d',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d6d;
$custom-light: #a66497;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d6d",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 109
  },
  "hsl": {
    "h": 310,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41967,
    "c": 0.15742,
    "h": 335.7
  },
  "luminance": 0.06343
}

Semantic roles & 50–950 ramp

primary
#7D1D6D
secondary
#45B157
accent
#E55E42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D1D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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