#7A1D57#7A1D57

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

Color values

HEX#7A1D57
RGBrgb(122, 29, 87)
HSLhsl(323, 62%, 30%)
HSVhsv(323, 76%, 48%)
CMYKcmyk(0%, 76.2%, 28.7%, 52.2%)
CIE-LABlab(28.66, 45.01, -11.96)
CIE-LCHlch(28.66, 46.57, 345.12°)
OKLaboklab(40.36% 0.1368 -0.0316)
OKLCHoklch(40.36% 0.14 347)
XYZxyz(10.1862, 5.7055, 9.5798)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D57 #1D7A40
analogous
#6F1D7A #7A1D57 #7A1D28
triadic
#7A1D57 #577A1D #1D577A
tetradic
#7A1D57 #7A6F1D #1D7A40 #1D287A
square
#7A1D57 #7A6F1D #1D7A40 #1D287A
split-complementary
#7A1D57 #287A1D #1D7A6F
monochromatic
#190612 #491134 #7A1D57 #AB297A #D2409B

Accessibility & contrast

On white

9.81
#7A1D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7A1D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D57
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D57#FFFFFF#000000##FFFFFF
##7A1D571.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3959
Deuteranopia (green-blind)
#454955
Tritanopia (blue-blind)
#831A37
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1d57;
/* rgb */ color: rgb(122, 29, 87);
/* oklch */ color: oklch(40.4% 0.140 347.0);
Tailwind
colors: {
  custom: {
    50: '#a46386',
    500: '#7a1d57',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d57;
$custom-light: #a46386;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d57",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 87
  },
  "hsl": {
    "h": 322.581,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40356,
    "c": 0.14043,
    "h": 347
  },
  "luminance": 0.05704
}

Semantic roles & 50–950 ramp

primary
#7A1D57
secondary
#45AE6C
accent
#E58043
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A1D57

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

Preview Lab → · Contrast checker → · Palette generator →

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