#7D1C4E#7D1C4E

#7D1C4E is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.139 H 353.9°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#7D1C4E
RGBrgb(125, 28, 78)
HSLhsl(329, 63%, 30%)
HSVhsv(329, 78%, 49%)
CMYKcmyk(0%, 77.6%, 37.6%, 51%)
CIE-LABlab(28.75, 45.09, -5.82)
CIE-LCHlch(28.75, 45.46, 352.65°)
OKLaboklab(40.42% 0.1384 -0.0148)
OKLCHoklch(40.42% 0.139 353.9)
XYZxyz(10.2485, 5.7418, 7.7748)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C4E #1C7D4B
analogous
#7B1C7D #7D1C4E #7D1C1E
triadic
#7D1C4E #4E7D1C #1C4E7D
tetradic
#7D1C4E #7D7B1C #1C7D4B #1C1E7D
square
#7D1C4E #7D7B1C #1C7D4B #1C1E7D
split-complementary
#7D1C4E #1E7D1C #1C7D7B
monochromatic
#190610 #4B112F #7D1C4E #AF276D #D43F8C

Accessibility & contrast

On white

9.78
#7D1C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7D1C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C4E
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C4E#FFFFFF#000000##FFFFFF
##7D1C4E1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E384F
Deuteranopia (green-blind)
#4A4A4C
Tritanopia (blue-blind)
#871232
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1c4e;
/* rgb */ color: rgb(125, 28, 78);
/* oklch */ color: oklch(40.4% 0.139 353.9);
Tailwind
colors: {
  custom: {
    50: '#a7627f',
    500: '#7d1c4e',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c4e;
$custom-light: #a7627f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c4e",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 329.072,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.40415,
    "c": 0.13914,
    "h": 353.9
  },
  "luminance": 0.05741
}

Semantic roles & 50–950 ramp

primary
#7D1C4E
secondary
#44B179
accent
#E69141
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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