#7A1B4F#7A1B4F

#7A1B4F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.138 H 351.9°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#7A1B4F
RGBrgb(122, 27, 79)
HSLhsl(327, 64%, 29%)
HSVhsv(327, 78%, 48%)
CMYKcmyk(0%, 77.9%, 35.2%, 52.2%)
CIE-LABlab(28.08, 44.70, -7.55)
CIE-LCHlch(28.08, 45.33, 350.42°)
OKLaboklab(39.83% 0.1369 -0.0195)
OKLCHoklch(39.83% 0.138 351.9)
XYZxyz(9.8298, 5.4871, 7.9371)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B4F #1B7A46
analogous
#761B7A #7A1B4F #7A1B20
triadic
#7A1B4F #4F7A1B #1B4F7A
tetradic
#7A1B4F #7A761B #1B7A46 #1B207A
square
#7A1B4F #7A761B #1B7A46 #1B207A
split-complementary
#7A1B4F #207A1B #1B7A76
monochromatic
#190610 #48102F #7A1B4F #AC266F #D43C8F

Accessibility & contrast

On white

10.01
#7A1B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7A1B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1B4F
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B4F#FFFFFF#000000##FFFFFF
##7A1B4F1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3750
Deuteranopia (green-blind)
#47484D
Tritanopia (blue-blind)
#841332
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1b4f;
/* rgb */ color: rgb(122, 27, 79);
/* oklch */ color: oklch(39.8% 0.138 351.9);
Tailwind
colors: {
  custom: {
    50: '#a46180',
    500: '#7a1b4f',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b4f;
$custom-light: #a46180;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b4f",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 327.158,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39828,
    "c": 0.13832,
    "h": 351.9
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#7A1B4F
secondary
#43AE73
accent
#E78C41
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7A1B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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