#7A1864#7A1864

#7A1864 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.155 H 339.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#7A1864
RGBrgb(122, 24, 100)
HSLhsl(313, 67%, 29%)
HSVhsv(313, 80%, 48%)
CMYKcmyk(0%, 80.3%, 18%, 52.2%)
CIE-LABlab(28.67, 48.51, -20.43)
CIE-LCHlch(28.67, 52.64, 337.17°)
OKLaboklab(40.57% 0.1443 -0.0553)
OKLCHoklch(40.57% 0.155 339)
XYZxyz(10.6532, 5.7120, 12.5956)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1864 #187A2E
analogous
#5F187A #7A1864 #7A1833
triadic
#7A1864 #647A18 #18647A
tetradic
#7A1864 #7A5F18 #187A2E #18337A
square
#7A1864 #7A5F18 #187A2E #18337A
split-complementary
#7A1864 #337A18 #187A5F
monochromatic
#1A0515 #470E3A #7A1864 #AD228E #D735B3

Accessibility & contrast

On white

9.80
#7A1864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7A1864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1864
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1864#FFFFFF#000000##FFFFFF
##7A18641.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3A66
Deuteranopia (green-blind)
#3F4962
Tritanopia (blue-blind)
#811D3D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1864;
/* rgb */ color: rgb(122, 24, 100);
/* oklch */ color: oklch(40.6% 0.155 339.0);
Tailwind
colors: {
  custom: {
    50: '#a46190',
    500: '#7a1864',
    950: '#000000',
  },
}
SCSS
$custom: #7a1864;
$custom-light: #a46190;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1864",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 313.469,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40566,
    "c": 0.15456,
    "h": 339
  },
  "luminance": 0.05711
}

Semantic roles & 50–950 ramp

primary
#7A1864
secondary
#3FAF58
accent
#EA643E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7A1864

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

Preview Lab → · Contrast checker → · Palette generator →

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