#7A1858#7A1858

#7A1858 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.147 H 345.9°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#7A1858
RGBrgb(122, 24, 88)
HSLhsl(321, 67%, 29%)
HSVhsv(321, 80%, 48%)
CMYKcmyk(0%, 80.3%, 27.9%, 52.2%)
CIE-LABlab(28.11, 46.83, -13.46)
CIE-LCHlch(28.11, 48.73, 343.96°)
OKLaboklab(39.97% 0.1423 -0.0357)
OKLCHoklch(39.97% 0.147 345.9)
XYZxyz(10.1146, 5.4966, 9.7589)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1858 #187A3A
analogous
#6B187A #7A1858 #7A1827
triadic
#7A1858 #587A18 #18587A
tetradic
#7A1858 #7A6B18 #187A3A #18277A
square
#7A1858 #7A6B18 #187A3A #18277A
split-complementary
#7A1858 #277A18 #187A6B
monochromatic
#1A0512 #470E33 #7A1858 #AD227D #D7359F

Accessibility & contrast

On white

10.00
#7A1858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7A1858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1858
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1858#FFFFFF#000000##FFFFFF
##7A18581.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26385A
Deuteranopia (green-blind)
#444856
Tritanopia (blue-blind)
#831536
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1858;
/* rgb */ color: rgb(122, 24, 88);
/* oklch */ color: oklch(40.0% 0.147 345.9);
Tailwind
colors: {
  custom: {
    50: '#a46187',
    500: '#7a1858',
    950: '#000000',
  },
}
SCSS
$custom: #7a1858;
$custom-light: #a46187;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1858",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 88
  },
  "hsl": {
    "h": 320.816,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39969,
    "c": 0.14672,
    "h": 345.9
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#7A1858
secondary
#3FAF66
accent
#EA7A3E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7A1858

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

Preview Lab → · Contrast checker → · Palette generator →

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