#7D1B4C#7D1B4C

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

Color values

HEX#7D1B4C
RGBrgb(125, 27, 76)
HSLhsl(330, 64%, 30%)
HSVhsv(330, 78%, 49%)
CMYKcmyk(0%, 78.4%, 39.2%, 51%)
CIE-LABlab(28.56, 45.20, -4.78)
CIE-LCHlch(28.56, 45.45, 353.96°)
OKLaboklab(40.25% 0.1388 -0.012)
OKLCHoklch(40.25% 0.139 355)
XYZxyz(10.1546, 5.6669, 7.3952)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B4C #1B7D4C
analogous
#7D1B7D #7D1B4C #7D1B1B
triadic
#7D1B4C #4C7D1B #1B4C7D
tetradic
#7D1B4C #7D7D1B #1B7D4C #1B1B7D
square
#7D1B4C #7D7D1B #1B7D4C #1B1B7D
split-complementary
#7D1B4C #1B7D1B #1B7D7D
monochromatic
#19050F #4B102D #7D1B4C #AF266B #D53D89

Accessibility & contrast

On white

9.84
#7D1B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7D1B4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B4C
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B4C#FFFFFF#000000##FFFFFF
##7D1B4C1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F384D
Deuteranopia (green-blind)
#4A4A4A
Tritanopia (blue-blind)
#870F31
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1b4c;
/* rgb */ color: rgb(125, 27, 76);
/* oklch */ color: oklch(40.2% 0.139 355.0);
Tailwind
colors: {
  custom: {
    50: '#a7627e',
    500: '#7d1b4c',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b4c;
$custom-light: #a7627e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b4c",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 76
  },
  "hsl": {
    "h": 330,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40248,
    "c": 0.13934,
    "h": 355
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#7D1B4C
secondary
#43B17A
accent
#E79440
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D1B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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