#7C1B4E#7C1B4E

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

Color values

HEX#7C1B4E
RGBrgb(124, 27, 78)
HSLhsl(328, 64%, 30%)
HSVhsv(328, 78%, 49%)
CMYKcmyk(0%, 78.2%, 37.1%, 51.4%)
CIE-LABlab(28.43, 45.15, -6.31)
CIE-LCHlch(28.43, 45.59, 352.04°)
OKLaboklab(40.15% 0.1385 -0.0161)
OKLCHoklch(40.15% 0.139 353.3)
XYZxyz(10.0799, 5.6202, 7.7603)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B4E #1B7C49
analogous
#7A1B7C #7C1B4E #7C1B1D
triadic
#7C1B4E #4E7C1B #1B4E7C
tetradic
#7C1B4E #7C7A1B #1B7C49 #1B1D7C
square
#7C1B4E #7C7A1B #1B7C49 #1B1D7C
split-complementary
#7C1B4E #1D7C1B #1B7C7A
monochromatic
#190510 #4A102E #7C1B4E #AE266E #D53D8D

Accessibility & contrast

On white

9.89
#7C1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1B4E
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B4E#FFFFFF#000000##FFFFFF
##7C1B4E1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D384F
Deuteranopia (green-blind)
#49494C
Tritanopia (blue-blind)
#861132
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1b4e;
/* rgb */ color: rgb(124, 27, 78);
/* oklch */ color: oklch(40.1% 0.139 353.3);
Tailwind
colors: {
  custom: {
    50: '#a6627f',
    500: '#7c1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b4e;
$custom-light: #a6627f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b4e",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 328.454,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40146,
    "c": 0.13945,
    "h": 353.3
  },
  "luminance": 0.05619
}

Semantic roles & 50–950 ramp

primary
#7C1B4E
secondary
#43B077
accent
#E79041
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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