#7A1B3C#7A1B3C

#7A1B3C is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.131 H 4.9°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#7A1B3C
RGBrgb(122, 27, 60)
HSLhsl(339, 64%, 29%)
HSVhsv(339, 78%, 48%)
CMYKcmyk(0%, 77.9%, 50.8%, 52.2%)
CIE-LABlab(27.43, 42.65, 4.23)
CIE-LCHlch(27.43, 42.86, 5.66°)
OKLaboklab(39.14% 0.1304 0.0112)
OKLCHoklch(39.14% 0.131 4.9)
XYZxyz(9.2344, 5.2489, 4.8010)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B3C #1B7A59
analogous
#7A1B6C #7A1B3C #7A2A1B
triadic
#7A1B3C #3C7A1B #1B3C7A
tetradic
#7A1B3C #6C7A1B #1B7A59 #2A1B7A
square
#7A1B3C #6C7A1B #1B7A59 #2A1B7A
split-complementary
#7A1B3C #1B7A2A #1B6C7A
monochromatic
#19060C #481023 #7A1B3C #AC2655 #D43C70

Accessibility & contrast

On white

10.25
#7A1B3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7A1B3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1B3C
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B3C#FFFFFF#000000##FFFFFF
##7A1B3C1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32353D
Deuteranopia (green-blind)
#4B483A
Tritanopia (blue-blind)
#850529
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1b3c;
/* rgb */ color: rgb(122, 27, 60);
/* oklch */ color: oklch(39.1% 0.131 4.9);
Tailwind
colors: {
  custom: {
    50: '#a56171',
    500: '#7a1b3c',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b3c;
$custom-light: #a56171;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b3c",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 60
  },
  "hsl": {
    "h": 339.158,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39141,
    "c": 0.13089,
    "h": 4.9
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#7A1B3C
secondary
#43AE89
accent
#E7AD41
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #7A1B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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