#7A1D5B#7A1D5B

#7A1D5B is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.143 H 344.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#7A1D5B
RGBrgb(122, 29, 91)
HSLhsl(320, 62%, 30%)
HSVhsv(320, 76%, 48%)
CMYKcmyk(0%, 76.2%, 25.4%, 52.2%)
CIE-LABlab(28.83, 45.56, -14.32)
CIE-LCHlch(28.83, 47.75, 342.56°)
OKLaboklab(40.54% 0.1377 -0.0381)
OKLCHoklch(40.54% 0.143 344.5)
XYZxyz(10.3541, 5.7727, 10.4645)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D5B #1D7A3C
analogous
#6B1D7A #7A1D5B #7A1D2D
triadic
#7A1D5B #5B7A1D #1D5B7A
tetradic
#7A1D5B #7A6B1D #1D7A3C #1D2D7A
square
#7A1D5B #7A6B1D #1D7A3C #1D2D7A
split-complementary
#7A1D5B #2D7A1D #1D7A6B
monochromatic
#190612 #491136 #7A1D5B #AB2980 #D240A1

Accessibility & contrast

On white

9.75
#7A1D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7A1D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D5B
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D5B#FFFFFF#000000##FFFFFF
##7A1D5B1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283A5D
Deuteranopia (green-blind)
#444A59
Tritanopia (blue-blind)
#821C39
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1d5b;
/* rgb */ color: rgb(122, 29, 91);
/* oklch */ color: oklch(40.5% 0.143 344.5);
Tailwind
colors: {
  custom: {
    50: '#a46389',
    500: '#7a1d5b',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d5b;
$custom-light: #a46389;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d5b",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 91
  },
  "hsl": {
    "h": 320,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40541,
    "c": 0.1429,
    "h": 344.5
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

primary
#7A1D5B
secondary
#45AE68
accent
#E57943
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A1D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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