#7A1A5D#7A1A5D

#7A1A5D is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.148 H 343.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7A1A5D
RGBrgb(122, 26, 93)
HSLhsl(318, 65%, 29%)
HSVhsv(318, 79%, 48%)
CMYKcmyk(0%, 78.7%, 23.8%, 52.2%)
CIE-LABlab(28.56, 46.87, -16.04)
CIE-LCHlch(28.56, 49.54, 341.10°)
OKLaboklab(40.37% 0.1413 -0.043)
OKLCHoklch(40.37% 0.148 343.1)
XYZxyz(10.3716, 5.6678, 10.9016)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A5D #1A7A37
analogous
#671A7A #7A1A5D #7A1A2D
triadic
#7A1A5D #5D7A1A #1A5D7A
tetradic
#7A1A5D #7A671A #1A7A37 #1A2D7A
square
#7A1A5D #7A671A #1A7A37 #1A2D7A
split-complementary
#7A1A5D #2D7A1A #1A7A67
monochromatic
#190513 #480F37 #7A1A5D #AC2583 #D539A6

Accessibility & contrast

On white

9.84
#7A1A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7A1A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1A5D
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A5D#FFFFFF#000000##FFFFFF
##7A1A5D1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395F
Deuteranopia (green-blind)
#43495B
Tritanopia (blue-blind)
#821A39
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1a5d;
/* rgb */ color: rgb(122, 26, 93);
/* oklch */ color: oklch(40.4% 0.148 343.1);
Tailwind
colors: {
  custom: {
    50: '#a4628b',
    500: '#7a1a5d',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a5d;
$custom-light: #a4628b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a5d",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 318.125,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40372,
    "c": 0.14769,
    "h": 343.1
  },
  "luminance": 0.05667
}

Semantic roles & 50–950 ramp

primary
#7A1A5D
secondary
#41AE62
accent
#E87340
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7A1A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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