#7C1B4B#7C1B4B

#7C1B4B is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.138 H 355.3°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7C1B4B
RGBrgb(124, 27, 75)
HSLhsl(330, 64%, 30%)
HSVhsv(330, 78%, 49%)
CMYKcmyk(0%, 78.2%, 39.5%, 51.4%)
CIE-LABlab(28.32, 44.80, -4.48)
CIE-LCHlch(28.32, 45.02, 354.28°)
OKLaboklab(40.03% 0.1376 -0.0112)
OKLCHoklch(40.03% 0.138 355.3)
XYZxyz(9.9748, 5.5782, 7.2067)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B4B #1B7C4C
analogous
#7C1B7C #7C1B4B #7C1C1B
triadic
#7C1B4B #4B7C1B #1B4B7C
tetradic
#7C1B4B #7C7C1B #1B7C4C #1C1B7C
square
#7C1B4B #7C7C1B #1B7C4C #1C1B7C
split-complementary
#7C1B4B #1B7C1C #1B7C7C
monochromatic
#19050F #4A102D #7C1B4B #AE2669 #D53D88

Accessibility & contrast

On white

9.93
#7C1B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1B4B
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B4B#FFFFFF#000000##FFFFFF
##7C1B4B1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E374C
Deuteranopia (green-blind)
#494949
Tritanopia (blue-blind)
#860F30
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1b4b;
/* rgb */ color: rgb(124, 27, 75);
/* oklch */ color: oklch(40.0% 0.138 355.3);
Tailwind
colors: {
  custom: {
    50: '#a6627d',
    500: '#7c1b4b',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b4b;
$custom-light: #a6627d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b4b",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 330.309,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40029,
    "c": 0.13805,
    "h": 355.3
  },
  "luminance": 0.05577
}

Semantic roles & 50–950 ramp

primary
#7C1B4B
secondary
#43B07A
accent
#E79541
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7C1B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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