#7D1A4B#7D1A4B

#7D1A4B is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.140 H 355.5°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7D1A4B
RGBrgb(125, 26, 75)
HSLhsl(330, 66%, 30%)
HSVhsv(330, 79%, 49%)
CMYKcmyk(0%, 79.2%, 40%, 51%)
CIE-LABlab(28.40, 45.42, -4.34)
CIE-LCHlch(28.40, 45.63, 354.54°)
OKLaboklab(40.12% 0.1396 -0.0109)
OKLCHoklch(40.12% 0.14 355.5)
XYZxyz(10.0975, 5.6080, 7.2060)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A4B #1A7D4C
analogous
#7D1A7D #7D1A4B #7D1B1A
triadic
#7D1A4B #4B7D1A #1A4B7D
tetradic
#7D1A4B #7D7D1A #1A7D4C #1B1A7D
square
#7D1A4B #7D7D1A #1A7D4C #1B1A7D
split-complementary
#7D1A4B #1A7D1B #1A7D7D
monochromatic
#19050F #4A0F2D #7D1A4B #B02569 #D63B88

Accessibility & contrast

On white

9.90
#7D1A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7D1A4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A4B
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A4B#FFFFFF#000000##FFFFFF
##7D1A4B1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E374C
Deuteranopia (green-blind)
#4A4A49
Tritanopia (blue-blind)
#870D30
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1a4b;
/* rgb */ color: rgb(125, 26, 75);
/* oklch */ color: oklch(40.1% 0.140 355.5);
Tailwind
colors: {
  custom: {
    50: '#a7617d',
    500: '#7d1a4b',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a4b;
$custom-light: #a7617d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a4b",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 75
  },
  "hsl": {
    "h": 330.303,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40123,
    "c": 0.13999,
    "h": 355.5
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#7D1A4B
secondary
#42B17A
accent
#E9953F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7D1A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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