#7A1C4B#7A1C4B

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

Color values

HEX#7A1C4B
RGBrgb(122, 28, 75)
HSLhsl(330, 63%, 29%)
HSVhsv(330, 77%, 48%)
CMYKcmyk(0%, 77%, 38.5%, 52.2%)
CIE-LABlab(28.05, 43.87, -4.93)
CIE-LCHlch(28.05, 44.14, 353.59°)
OKLaboklab(39.76% 0.1346 -0.0124)
OKLCHoklch(39.76% 0.135 354.7)
XYZxyz(9.7119, 5.4773, 7.2010)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C4B #1C7A4B
analogous
#7A1C7A #7A1C4B #7A1C1C
triadic
#7A1C4B #4B7A1C #1C4B7A
tetradic
#7A1C4B #7A7A1C #1C7A4B #1C1C7A
square
#7A1C4B #7A7A1C #1C7A4B #1C1C7A
split-complementary
#7A1C4B #1C7A1C #1C7A7A
monochromatic
#19060F #48112C #7A1C4B #AC276A #D33E88

Accessibility & contrast

On white

10.02
#7A1C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1C4B
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C4B#FFFFFF#000000##FFFFFF
##7A1C4B1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1c4b;
/* rgb */ color: rgb(122, 28, 75);
/* oklch */ color: oklch(39.8% 0.135 354.7);
Tailwind
colors: {
  custom: {
    50: '#a5627d',
    500: '#7a1c4b',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c4b;
$custom-light: #a5627d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c4b",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 75
  },
  "hsl": {
    "h": 330,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39759,
    "c": 0.13519,
    "h": 354.7
  },
  "luminance": 0.05476
}

Semantic roles & 50–950 ramp

primary
#7A1C4B
secondary
#44AE79
accent
#E69442
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7A1C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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