#7D1D4F#7D1D4F

#7D1D4F is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.138 H 353.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7D1D4F
RGBrgb(125, 29, 79)
HSLhsl(329, 62%, 30%)
HSVhsv(329, 77%, 49%)
CMYKcmyk(0%, 76.8%, 36.8%, 51%)
CIE-LABlab(28.91, 44.85, -6.24)
CIE-LCHlch(28.91, 45.28, 352.09°)
OKLaboklab(40.55% 0.1375 -0.0159)
OKLCHoklch(40.55% 0.138 353.4)
XYZxyz(10.3087, 5.8045, 7.9731)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D4F #1D7D4B
analogous
#7B1D7D #7D1D4F #7D1D1F
triadic
#7D1D4F #4F7D1D #1D4F7D
tetradic
#7D1D4F #7D7B1D #1D7D4B #1D1F7D
square
#7D1D4F #7D7B1D #1D7D4B #1D1F7D
split-complementary
#7D1D4F #1F7D1D #1D7D7B
monochromatic
#1A0610 #4B1130 #7D1D4F #AF296E #D3418D

Accessibility & contrast

On white

9.72
#7D1D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7D1D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D4F
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D4F#FFFFFF#000000##FFFFFF
##7D1D4F1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3950
Deuteranopia (green-blind)
#4A4A4D
Tritanopia (blue-blind)
#871433
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1d4f;
/* rgb */ color: rgb(125, 29, 79);
/* oklch */ color: oklch(40.5% 0.138 353.4);
Tailwind
colors: {
  custom: {
    50: '#a76380',
    500: '#7d1d4f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d4f;
$custom-light: #a76380;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d4f",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 328.75,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40546,
    "c": 0.13846,
    "h": 353.4
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#7D1D4F
secondary
#45B179
accent
#E59142
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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