#7C1B48#7C1B48

#7C1B48 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.137 H 357.3°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7C1B48
RGBrgb(124, 27, 72)
HSLhsl(332, 64%, 30%)
HSVhsv(332, 78%, 49%)
CMYKcmyk(0%, 78.2%, 41.9%, 51.4%)
CIE-LABlab(28.22, 44.47, -2.64)
CIE-LCHlch(28.22, 44.54, 356.60°)
OKLaboklab(39.92% 0.1366 -0.0064)
OKLCHoklch(39.92% 0.137 357.3)
XYZxyz(9.8745, 5.5381, 6.6786)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B48 #1B7C4F
analogous
#7C1B79 #7C1B48 #7C1F1B
triadic
#7C1B48 #487C1B #1B487C
tetradic
#7C1B48 #797C1B #1B7C4F #1F1B7C
square
#7C1B48 #797C1B #1B7C4F #1F1B7C
split-complementary
#7C1B48 #1B7C1F #1B797C
monochromatic
#19050F #4A102B #7C1B48 #AE2665 #D53D83

Accessibility & contrast

On white

9.96
#7C1B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7C1B48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1B48
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B48#FFFFFF#000000##FFFFFF
##7C1B481.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3749
Deuteranopia (green-blind)
#4A4946
Tritanopia (blue-blind)
#870D2F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1b48;
/* rgb */ color: rgb(124, 27, 72);
/* oklch */ color: oklch(39.9% 0.137 357.3);
Tailwind
colors: {
  custom: {
    50: '#a6627a',
    500: '#7c1b48',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b48;
$custom-light: #a6627a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b48",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 332.165,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39916,
    "c": 0.13676,
    "h": 357.3
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#7C1B48
secondary
#43B07D
accent
#E79A41
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7C1B48

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

Preview Lab → · Contrast checker → · Palette generator →

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