#7C1B4D#7C1B4D

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

Color values

HEX#7C1B4D
RGBrgb(124, 27, 77)
HSLhsl(329, 64%, 30%)
HSVhsv(329, 78%, 49%)
CMYKcmyk(0%, 78.2%, 37.9%, 51.4%)
CIE-LABlab(28.40, 45.03, -5.70)
CIE-LCHlch(28.40, 45.39, 352.78°)
OKLaboklab(40.11% 0.1382 -0.0145)
OKLCHoklch(40.11% 0.139 354)
XYZxyz(10.0443, 5.6060, 7.5729)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B4D #1B7C4A
analogous
#7B1B7C #7C1B4D #7C1B1D
triadic
#7C1B4D #4D7C1B #1B4D7C
tetradic
#7C1B4D #7C7B1B #1B7C4A #1B1D7C
square
#7C1B4D #7C7B1B #1B7C4A #1B1D7C
split-complementary
#7C1B4D #1D7C1B #1B7C7B
monochromatic
#190510 #4A102E #7C1B4D #AE266C #D53D8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1B4D#FFFFFF#000000##FFFFFF
##7C1B4D1.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)
#2E384E
Deuteranopia (green-blind)
#49494B
Tritanopia (blue-blind)
#861031
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1b4d;
/* rgb */ color: rgb(124, 27, 77);
/* oklch */ color: oklch(40.1% 0.139 354.0);
Tailwind
colors: {
  custom: {
    50: '#a6627e',
    500: '#7c1b4d',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b4d;
$custom-light: #a6627e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b4d",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 77
  },
  "hsl": {
    "h": 329.072,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40106,
    "c": 0.13897,
    "h": 354
  },
  "luminance": 0.05605
}

Semantic roles & 50–950 ramp

primary
#7C1B4D
secondary
#43B078
accent
#E79141
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C1B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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