#7A1A4F#7A1A4F

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

Color values

HEX#7A1A4F
RGBrgb(122, 26, 79)
HSLhsl(327, 65%, 29%)
HSVhsv(327, 79%, 48%)
CMYKcmyk(0%, 78.7%, 35.2%, 52.2%)
CIE-LABlab(27.96, 45.04, -7.73)
CIE-LCHlch(27.96, 45.70, 350.26°)
OKLaboklab(39.74% 0.138 -0.02)
OKLCHoklch(39.74% 0.139 351.8)
XYZxyz(9.8073, 5.4421, 7.9296)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A4F #1A7A45
analogous
#751A7A #7A1A4F #7A1A1F
triadic
#7A1A4F #4F7A1A #1A4F7A
tetradic
#7A1A4F #7A751A #1A7A45 #1A1F7A
square
#7A1A4F #7A751A #1A7A45 #1A1F7A
split-complementary
#7A1A4F #1F7A1A #1A7A75
monochromatic
#190510 #480F2E #7A1A4F #AC2570 #D5398F

Accessibility & contrast

On white

10.06
#7A1A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1A4F
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A4F#FFFFFF#000000##FFFFFF
##7A1A4F1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1a4f;
/* rgb */ color: rgb(122, 26, 79);
/* oklch */ color: oklch(39.7% 0.139 351.8);
Tailwind
colors: {
  custom: {
    50: '#a46180',
    500: '#7a1a4f',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a4f;
$custom-light: #a46180;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a4f",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 326.875,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3974,
    "c": 0.13946,
    "h": 351.8
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#7A1A4F
secondary
#41AE72
accent
#E88B40
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7A1A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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