#7A1A58#7A1A58

#7A1A58 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.145 H 346.1°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#7A1A58
RGBrgb(122, 26, 88)
HSLhsl(321, 65%, 29%)
HSVhsv(321, 79%, 48%)
CMYKcmyk(0%, 78.7%, 27.9%, 52.2%)
CIE-LABlab(28.33, 46.18, -13.11)
CIE-LCHlch(28.33, 48.01, 344.15°)
OKLaboklab(40.13% 0.1403 -0.0348)
OKLCHoklch(40.13% 0.145 346.1)
XYZxyz(10.1573, 5.5821, 9.7732)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A58 #1A7A3C
analogous
#6C1A7A #7A1A58 #7A1A28
triadic
#7A1A58 #587A1A #1A587A
tetradic
#7A1A58 #7A6C1A #1A7A3C #1A287A
square
#7A1A58 #7A6C1A #1A7A3C #1A287A
split-complementary
#7A1A58 #287A1A #1A7A6C
monochromatic
#190512 #480F34 #7A1A58 #AC257C #D5399E

Accessibility & contrast

On white

9.92
#7A1A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7A1A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1A58
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A58#FFFFFF#000000##FFFFFF
##7A1A581.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27385A
Deuteranopia (green-blind)
#444956
Tritanopia (blue-blind)
#831737
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1a58;
/* rgb */ color: rgb(122, 26, 88);
/* oklch */ color: oklch(40.1% 0.145 346.1);
Tailwind
colors: {
  custom: {
    50: '#a46187',
    500: '#7a1a58',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a58;
$custom-light: #a46187;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a58",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 321.25,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40134,
    "c": 0.14453,
    "h": 346.1
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#7A1A58
secondary
#41AE68
accent
#E87B40
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7A1A58

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

Preview Lab → · Contrast checker → · Palette generator →

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