#7A1B4B#7A1B4B

#7A1B4B is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.136 H 354.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#7A1B4B
RGBrgb(122, 27, 75)
HSLhsl(330, 64%, 29%)
HSVhsv(330, 78%, 48%)
CMYKcmyk(0%, 77.9%, 38.5%, 52.2%)
CIE-LABlab(27.93, 44.22, -5.11)
CIE-LCHlch(27.93, 44.52, 353.40°)
OKLaboklab(39.67% 0.1357 -0.0129)
OKLCHoklch(39.67% 0.136 354.6)
XYZxyz(9.6886, 5.4306, 7.1933)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B4B #1B7A4A
analogous
#7A1B7A #7A1B4B #7A1B1C
triadic
#7A1B4B #4B7A1B #1B4B7A
tetradic
#7A1B4B #7A7A1B #1B7A4A #1B1C7A
square
#7A1B4B #7A7A1B #1B7A4A #1B1C7A
split-complementary
#7A1B4B #1C7A1B #1B7A7A
monochromatic
#19060F #48102C #7A1B4B #AC266A #D43C89

Accessibility & contrast

On white

10.07
#7A1B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1B4B
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B4B#FFFFFF#000000##FFFFFF
##7A1B4B1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D374C
Deuteranopia (green-blind)
#484849
Tritanopia (blue-blind)
#841030
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1b4b;
/* rgb */ color: rgb(122, 27, 75);
/* oklch */ color: oklch(39.7% 0.136 354.6);
Tailwind
colors: {
  custom: {
    50: '#a5617d',
    500: '#7a1b4b',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b4b;
$custom-light: #a5617d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b4b",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 329.684,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39667,
    "c": 0.13636,
    "h": 354.6
  },
  "luminance": 0.05429
}

Semantic roles & 50–950 ramp

primary
#7A1B4B
secondary
#43AE78
accent
#E79341
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7A1B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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