#7D1B4D#7D1B4D

#7D1B4D is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.140 H 354.4°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7D1B4D
RGBrgb(125, 27, 77)
HSLhsl(329, 64%, 30%)
HSVhsv(329, 78%, 49%)
CMYKcmyk(0%, 78.4%, 38.4%, 51%)
CIE-LABlab(28.59, 45.32, -5.39)
CIE-LCHlch(28.59, 45.63, 353.22°)
OKLaboklab(40.29% 0.1391 -0.0137)
OKLCHoklch(40.29% 0.14 354.4)
XYZxyz(10.1896, 5.6809, 7.5797)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B4D #1B7D4B
analogous
#7C1B7D #7D1B4D #7D1B1C
triadic
#7D1B4D #4D7D1B #1B4D7D
tetradic
#7D1B4D #7D7C1B #1B7D4B #1B1C7D
square
#7D1B4D #7D7C1B #1B7D4B #1B1C7D
split-complementary
#7D1B4D #1C7D1B #1B7D7C
monochromatic
#190510 #4B102E #7D1B4D #AF266C #D53D8B

Accessibility & contrast

On white

9.83
#7D1B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7D1B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B4D
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B4D#FFFFFF#000000##FFFFFF
##7D1B4D1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E384E
Deuteranopia (green-blind)
#4A4A4B
Tritanopia (blue-blind)
#871031
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1b4d;
/* rgb */ color: rgb(125, 27, 77);
/* oklch */ color: oklch(40.3% 0.140 354.4);
Tailwind
colors: {
  custom: {
    50: '#a7627e',
    500: '#7d1b4d',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b4d;
$custom-light: #a7627e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b4d",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 77
  },
  "hsl": {
    "h": 329.388,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40287,
    "c": 0.1398,
    "h": 354.4
  },
  "luminance": 0.0568
}

Semantic roles & 50–950 ramp

primary
#7D1B4D
secondary
#43B179
accent
#E79240
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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