#7C1B56#7C1B56

#7C1B56 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.144 H 348.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#7C1B56
RGBrgb(124, 27, 86)
HSLhsl(324, 64%, 30%)
HSVhsv(324, 78%, 49%)
CMYKcmyk(0%, 78.2%, 30.6%, 51.4%)
CIE-LABlab(28.75, 46.13, -11.12)
CIE-LCHlch(28.75, 47.45, 346.45°)
OKLaboklab(40.48% 0.1407 -0.0292)
OKLCHoklch(40.48% 0.144 348.3)
XYZxyz(10.3844, 5.7420, 9.3638)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B56 #1B7C41
analogous
#721B7C #7C1B56 #7C1B26
triadic
#7C1B56 #567C1B #1B567C
tetradic
#7C1B56 #7C721B #1B7C41 #1B267C
square
#7C1B56 #7C721B #1B7C41 #1B267C
split-complementary
#7C1B56 #267C1B #1B7C72
monochromatic
#190511 #4A1033 #7C1B56 #AE2679 #D53D99

Accessibility & contrast

On white

9.78
#7C1B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7C1B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1B56
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B56#FFFFFF#000000##FFFFFF
##7C1B561.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3958
Deuteranopia (green-blind)
#474A54
Tritanopia (blue-blind)
#851636
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1b56;
/* rgb */ color: rgb(124, 27, 86);
/* oklch */ color: oklch(40.5% 0.144 348.3);
Tailwind
colors: {
  custom: {
    50: '#a66285',
    500: '#7c1b56',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b56;
$custom-light: #a66285;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b56",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 323.505,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40483,
    "c": 0.14371,
    "h": 348.3
  },
  "luminance": 0.05741
}

Semantic roles & 50–950 ramp

primary
#7C1B56
secondary
#43B06E
accent
#E78241
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7C1B56

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

Preview Lab → · Contrast checker → · Palette generator →

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