#7A1E58#7A1E58

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

Color values

HEX#7A1E58
RGBrgb(122, 30, 88)
HSLhsl(322, 61%, 30%)
HSVhsv(322, 75%, 48%)
CMYKcmyk(0%, 75.4%, 27.9%, 52.2%)
CIE-LABlab(28.83, 44.78, -12.35)
CIE-LCHlch(28.83, 46.45, 344.58°)
OKLaboklab(40.5% 0.1359 -0.0327)
OKLCHoklch(40.5% 0.14 346.5)
XYZxyz(10.2522, 5.7718, 9.8048)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E58 #1E7A40
analogous
#6E1E7A #7A1E58 #7A1E2A
triadic
#7A1E58 #587A1E #1E587A
tetradic
#7A1E58 #7A6E1E #1E7A40 #1E2A7A
square
#7A1E58 #7A6E1E #1E7A40 #1E2A7A
split-complementary
#7A1E58 #2A7A1E #1E7A6E
monochromatic
#190612 #491235 #7A1E58 #AB2A7B #D0429C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A1E58#FFFFFF#000000##FFFFFF
##7A1E581.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)
#2A3A5A
Deuteranopia (green-blind)
#464A56
Tritanopia (blue-blind)
#831B38
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1e58;
/* rgb */ color: rgb(122, 30, 88);
/* oklch */ color: oklch(40.5% 0.140 346.5);
Tailwind
colors: {
  custom: {
    50: '#a46387',
    500: '#7a1e58',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e58;
$custom-light: #a46387;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e58",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 88
  },
  "hsl": {
    "h": 322.174,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40496,
    "c": 0.13981,
    "h": 346.5
  },
  "luminance": 0.05771
}

Semantic roles & 50–950 ramp

primary
#7A1E58
secondary
#46AE6C
accent
#E47F44
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A1E58

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

Preview Lab → · Contrast checker → · Palette generator →

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