#7C1B54#7C1B54

#7C1B54 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.143 H 349.5°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#7C1B54
RGBrgb(124, 27, 84)
HSLhsl(325, 64%, 30%)
HSVhsv(325, 78%, 49%)
CMYKcmyk(0%, 78.2%, 32.3%, 51.4%)
CIE-LABlab(28.67, 45.88, -9.93)
CIE-LCHlch(28.67, 46.94, 347.79°)
OKLaboklab(40.4% 0.1402 -0.026)
OKLCHoklch(40.4% 0.143 349.5)
XYZxyz(10.3049, 5.7102, 8.9453)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B54 #1B7C43
analogous
#731B7C #7C1B54 #7C1B24
triadic
#7C1B54 #547C1B #1B547C
tetradic
#7C1B54 #7C731B #1B7C43 #1B247C
square
#7C1B54 #7C731B #1B7C43 #1B247C
split-complementary
#7C1B54 #247C1B #1B7C73
monochromatic
#190511 #4A1032 #7C1B54 #AE2676 #D53D96

Accessibility & contrast

On white

9.80
#7C1B54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1B54
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B54#FFFFFF#000000##FFFFFF
##7C1B541.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3956
Deuteranopia (green-blind)
#474A52
Tritanopia (blue-blind)
#851535
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1b54;
/* rgb */ color: rgb(124, 27, 84);
/* oklch */ color: oklch(40.4% 0.143 349.5);
Tailwind
colors: {
  custom: {
    50: '#a66284',
    500: '#7c1b54',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b54;
$custom-light: #a66284;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b54",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 84
  },
  "hsl": {
    "h": 324.742,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40396,
    "c": 0.14258,
    "h": 349.5
  },
  "luminance": 0.05709
}

Semantic roles & 50–950 ramp

primary
#7C1B54
secondary
#43B070
accent
#E78541
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C1B54

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

Preview Lab → · Contrast checker → · Palette generator →

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