#7C1D4B#7C1D4B

#7C1D4B is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.136 H 355.7°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7C1D4B
RGBrgb(124, 29, 75)
HSLhsl(331, 62%, 30%)
HSVhsv(331, 77%, 49%)
CMYKcmyk(0%, 76.6%, 39.5%, 51.4%)
CIE-LABlab(28.57, 44.10, -4.11)
CIE-LCHlch(28.57, 44.29, 354.67°)
OKLaboklab(40.21% 0.1354 -0.0103)
OKLCHoklch(40.21% 0.136 355.7)
XYZxyz(10.0222, 5.6731, 7.2225)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1D4B #1D7C4E
analogous
#7C1D7B #7C1D4B #7C1E1D
triadic
#7C1D4B #4B7C1D #1D4B7C
tetradic
#7C1D4B #7B7C1D #1D7C4E #1E1D7C
square
#7C1D4B #7B7C1D #1D7C4E #1E1D7C
split-complementary
#7C1D4B #1D7C1E #1D7B7C
monochromatic
#19060F #4A112D #7C1D4B #AE2969 #D34187

Accessibility & contrast

On white

9.84
#7C1D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7C1D4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1D4B
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1D4B#FFFFFF#000000##FFFFFF
##7C1D4B1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30384C
Deuteranopia (green-blind)
#4A4A49
Tritanopia (blue-blind)
#861231
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1d4b;
/* rgb */ color: rgb(124, 29, 75);
/* oklch */ color: oklch(40.2% 0.136 355.7);
Tailwind
colors: {
  custom: {
    50: '#a6627d',
    500: '#7c1d4b',
    950: '#000000',
  },
}
SCSS
$custom: #7c1d4b;
$custom-light: #a6627d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1d4b",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 75
  },
  "hsl": {
    "h": 330.947,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.40212,
    "c": 0.13574,
    "h": 355.7
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#7C1D4B
secondary
#45B07C
accent
#E59643
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7C1D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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