#7A1861#7A1861

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

Color values

HEX#7A1861
RGBrgb(122, 24, 97)
HSLhsl(315, 67%, 29%)
HSVhsv(315, 80%, 48%)
CMYKcmyk(0%, 80.3%, 20.5%, 52.2%)
CIE-LABlab(28.52, 48.08, -18.71)
CIE-LCHlch(28.52, 51.59, 338.74°)
OKLaboklab(40.41% 0.1439 -0.0505)
OKLCHoklch(40.41% 0.153 340.7)
XYZxyz(10.5107, 5.6550, 11.8449)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1861 #187A31
analogous
#62187A #7A1861 #7A1830
triadic
#7A1861 #617A18 #18617A
tetradic
#7A1861 #7A6218 #187A31 #18307A
square
#7A1861 #7A6218 #187A31 #18307A
split-complementary
#7A1861 #307A18 #187A62
monochromatic
#1A0514 #470E38 #7A1861 #AD228A #D735AE

Accessibility & contrast

On white

9.86
#7A1861 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7A1861 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1861
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1861#FFFFFF#000000##FFFFFF
##7A18611.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203963
Deuteranopia (green-blind)
#41495F
Tritanopia (blue-blind)
#821B3B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1861;
/* rgb */ color: rgb(122, 24, 97);
/* oklch */ color: oklch(40.4% 0.152 340.7);
Tailwind
colors: {
  custom: {
    50: '#a4618e',
    500: '#7a1861',
    950: '#000000',
  },
}
SCSS
$custom: #7a1861;
$custom-light: #a4618e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1861",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 97
  },
  "hsl": {
    "h": 315.306,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4041,
    "c": 0.1525,
    "h": 340.7
  },
  "luminance": 0.05654
}

Semantic roles & 50–950 ramp

primary
#7A1861
secondary
#3FAF5C
accent
#EA6A3E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7A1861

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

Preview Lab → · Contrast checker → · Palette generator →

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