#7A1856#7A1856

#7A1856 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.146 H 347.1°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#7A1856
RGBrgb(122, 24, 86)
HSLhsl(322, 67%, 29%)
HSVhsv(322, 80%, 48%)
CMYKcmyk(0%, 80.3%, 29.5%, 52.2%)
CIE-LABlab(28.02, 46.57, -12.28)
CIE-LCHlch(28.02, 48.16, 345.23°)
OKLaboklab(39.88% 0.1419 -0.0324)
OKLCHoklch(39.88% 0.146 347.1)
XYZxyz(10.0329, 5.4639, 9.3286)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1856 #187A3C
analogous
#6D187A #7A1856 #7A1825
triadic
#7A1856 #567A18 #18567A
tetradic
#7A1856 #7A6D18 #187A3C #18257A
square
#7A1856 #7A6D18 #187A3C #18257A
split-complementary
#7A1856 #257A18 #187A6D
monochromatic
#1A0512 #470E32 #7A1856 #AD227A #D7359C

Accessibility & contrast

On white

10.04
#7A1856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7A1856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1856
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1856#FFFFFF#000000##FFFFFF
##7A18561.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273758
Deuteranopia (green-blind)
#444854
Tritanopia (blue-blind)
#831435
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1856;
/* rgb */ color: rgb(122, 24, 86);
/* oklch */ color: oklch(39.9% 0.146 347.1);
Tailwind
colors: {
  custom: {
    50: '#a46185',
    500: '#7a1856',
    950: '#000000',
  },
}
SCSS
$custom: #7a1856;
$custom-light: #a46185;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1856",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 86
  },
  "hsl": {
    "h": 322.041,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39877,
    "c": 0.14552,
    "h": 347.1
  },
  "luminance": 0.05463
}

Semantic roles & 50–950 ramp

primary
#7A1856
secondary
#3FAF68
accent
#EA7D3E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7A1856

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

Preview Lab → · Contrast checker → · Palette generator →

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