#7B1C4E#7B1C4E

#7B1C4E is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.137 H 353.1°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#7B1C4E
RGBrgb(123, 28, 78)
HSLhsl(328, 63%, 30%)
HSVhsv(328, 77%, 48%)
CMYKcmyk(0%, 77.2%, 36.6%, 51.8%)
CIE-LABlab(28.36, 44.51, -6.44)
CIE-LCHlch(28.36, 44.98, 351.77°)
OKLaboklab(40.06% 0.1365 -0.0165)
OKLCHoklch(40.06% 0.137 353.1)
XYZxyz(9.9594, 5.5927, 7.7613)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C4E #1C7B49
analogous
#791C7B #7B1C4E #7B1C1F
triadic
#7B1C4E #4E7B1C #1C4E7B
tetradic
#7B1C4E #7B791C #1C7B49 #1C1F7B
square
#7B1C4E #7B791C #1C7B49 #1C1F7B
split-complementary
#7B1C4E #1F7B1C #1C7B79
monochromatic
#190610 #49112E #7B1C4E #AD276E #D33E8D

Accessibility & contrast

On white

9.91
#7B1C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1C4E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C4E#FFFFFF#000000##FFFFFF
##7B1C4E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E384F
Deuteranopia (green-blind)
#48494C
Tritanopia (blue-blind)
#851332
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1c4e;
/* rgb */ color: rgb(123, 28, 78);
/* oklch */ color: oklch(40.1% 0.137 353.1);
Tailwind
colors: {
  custom: {
    50: '#a5627f',
    500: '#7b1c4e',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c4e;
$custom-light: #a5627f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c4e",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 328.421,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40057,
    "c": 0.13747,
    "h": 353.1
  },
  "luminance": 0.05592
}

Semantic roles & 50–950 ramp

primary
#7B1C4E
secondary
#44AF77
accent
#E69042
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B1C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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