#7A1863#7A1863

#7A1863 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.154 H 339.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#7A1863
RGBrgb(122, 24, 99)
HSLhsl(314, 67%, 29%)
HSVhsv(314, 80%, 48%)
CMYKcmyk(0%, 80.3%, 18.9%, 52.2%)
CIE-LABlab(28.62, 48.37, -19.86)
CIE-LCHlch(28.62, 52.28, 337.68°)
OKLaboklab(40.51% 0.1442 -0.0537)
OKLCHoklch(40.51% 0.154 339.6)
XYZxyz(10.6051, 5.6928, 12.3423)
Luminance0.0569 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1863 #187A2F
analogous
#60187A #7A1863 #7A1832
triadic
#7A1863 #637A18 #18637A
tetradic
#7A1863 #7A6018 #187A2F #18327A
square
#7A1863 #7A6018 #187A2F #18327A
split-complementary
#7A1863 #327A18 #187A60
monochromatic
#1A0515 #470E39 #7A1863 #AD228C #D735B1

Accessibility & contrast

On white

9.82
#7A1863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1863
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1863#FFFFFF#000000##FFFFFF
##7A18631.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3A65
Deuteranopia (green-blind)
#404961
Tritanopia (blue-blind)
#811C3C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1863;
/* rgb */ color: rgb(122, 24, 99);
/* oklch */ color: oklch(40.5% 0.154 339.6);
Tailwind
colors: {
  custom: {
    50: '#a4618f',
    500: '#7a1863',
    950: '#000000',
  },
}
SCSS
$custom: #7a1863;
$custom-light: #a4618f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1863",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 314.082,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40513,
    "c": 0.15387,
    "h": 339.6
  },
  "luminance": 0.05692
}

Semantic roles & 50–950 ramp

primary
#7A1863
secondary
#3FAF59
accent
#EA663E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7A1863

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

Preview Lab → · Contrast checker → · Palette generator →

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