#7D1B4E#7D1B4E

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

Color values

HEX#7D1B4E
RGBrgb(125, 27, 78)
HSLhsl(329, 64%, 30%)
HSVhsv(329, 78%, 49%)
CMYKcmyk(0%, 78.4%, 37.6%, 51%)
CIE-LABlab(28.63, 45.43, -6.00)
CIE-LCHlch(28.63, 45.82, 352.48°)
OKLaboklab(40.33% 0.1394 -0.0153)
OKLCHoklch(40.33% 0.14 353.7)
XYZxyz(10.2252, 5.6952, 7.7671)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B4E #1B7D4A
analogous
#7B1B7D #7D1B4E #7D1B1D
triadic
#7D1B4E #4E7D1B #1B4E7D
tetradic
#7D1B4E #7D7B1B #1B7D4A #1B1D7D
square
#7D1B4E #7D7B1B #1B7D4A #1B1D7D
split-complementary
#7D1B4E #1D7D1B #1B7D7B
monochromatic
#190510 #4B102F #7D1B4E #AF266D #D53D8C

Accessibility & contrast

On white

9.82
#7D1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1B4E
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B4E#FFFFFF#000000##FFFFFF
##7D1B4E1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E384F
Deuteranopia (green-blind)
#494A4C
Tritanopia (blue-blind)
#871032
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1b4e;
/* rgb */ color: rgb(125, 27, 78);
/* oklch */ color: oklch(40.3% 0.140 353.7);
Tailwind
colors: {
  custom: {
    50: '#a7627f',
    500: '#7d1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b4e;
$custom-light: #a7627f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b4e",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 328.776,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40326,
    "c": 0.14028,
    "h": 353.7
  },
  "luminance": 0.05694
}

Semantic roles & 50–950 ramp

primary
#7D1B4E
secondary
#43B178
accent
#E79040
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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