#7A1E56#7A1E56

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

Color values

HEX#7A1E56
RGBrgb(122, 30, 86)
HSLhsl(323, 61%, 30%)
HSVhsv(323, 75%, 48%)
CMYKcmyk(0%, 75.4%, 29.5%, 52.2%)
CIE-LABlab(28.74, 44.51, -11.17)
CIE-LCHlch(28.74, 45.89, 345.92°)
OKLaboklab(40.41% 0.1354 -0.0294)
OKLCHoklch(40.41% 0.139 347.7)
XYZxyz(10.1705, 5.7391, 9.3745)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E56 #1E7A42
analogous
#701E7A #7A1E56 #7A1E28
triadic
#7A1E56 #567A1E #1E567A
tetradic
#7A1E56 #7A701E #1E7A42 #1E287A
square
#7A1E56 #7A701E #1E7A42 #1E287A
split-complementary
#7A1E56 #287A1E #1E7A70
monochromatic
#190611 #491233 #7A1E56 #AB2A79 #D04299

Accessibility & contrast

On white

9.78
#7A1E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1E56
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E56#FFFFFF#000000##FFFFFF
##7A1E561.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A58
Deuteranopia (green-blind)
#464A54
Tritanopia (blue-blind)
#831A37
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1e56;
/* rgb */ color: rgb(122, 30, 86);
/* oklch */ color: oklch(40.4% 0.139 347.7);
Tailwind
colors: {
  custom: {
    50: '#a46385',
    500: '#7a1e56',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e56;
$custom-light: #a46385;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e56",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 323.478,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40406,
    "c": 0.1386,
    "h": 347.7
  },
  "luminance": 0.05738
}

Semantic roles & 50–950 ramp

primary
#7A1E56
secondary
#46AE6F
accent
#E48344
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A1E56

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

Preview Lab → · Contrast checker → · Palette generator →

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