#7A1B4D#7A1B4D

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

Color values

HEX#7A1B4D
RGBrgb(122, 27, 77)
HSLhsl(328, 64%, 29%)
HSVhsv(328, 78%, 48%)
CMYKcmyk(0%, 77.9%, 36.9%, 52.2%)
CIE-LABlab(28.00, 44.46, -6.33)
CIE-LCHlch(28.00, 44.91, 351.89°)
OKLaboklab(39.75% 0.1364 -0.0162)
OKLCHoklch(39.75% 0.137 353.2)
XYZxyz(9.7581, 5.4584, 7.5595)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B4D #1B7A48
analogous
#781B7A #7A1B4D #7A1B1E
triadic
#7A1B4D #4D7A1B #1B4D7A
tetradic
#7A1B4D #7A781B #1B7A48 #1B1E7A
square
#7A1B4D #7A781B #1B7A48 #1B1E7A
split-complementary
#7A1B4D #1E7A1B #1B7A78
monochromatic
#190610 #48102D #7A1B4D #AC266D #D43C8C

Accessibility & contrast

On white

10.04
#7A1B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7A1B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1B4D
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B4D#FFFFFF#000000##FFFFFF
##7A1B4D1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D374E
Deuteranopia (green-blind)
#48484B
Tritanopia (blue-blind)
#841231
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1b4d;
/* rgb */ color: rgb(122, 27, 77);
/* oklch */ color: oklch(39.7% 0.137 353.2);
Tailwind
colors: {
  custom: {
    50: '#a5617e',
    500: '#7a1b4d',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b4d;
$custom-light: #a5617e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b4d",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 77
  },
  "hsl": {
    "h": 328.421,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39747,
    "c": 0.13732,
    "h": 353.2
  },
  "luminance": 0.05457
}

Semantic roles & 50–950 ramp

primary
#7A1B4D
secondary
#43AE76
accent
#E79041
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7A1B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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