#7A1758#7A1758

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

Color values

HEX#7A1758
RGBrgb(122, 23, 88)
HSLhsl(321, 68%, 28%)
HSVhsv(321, 81%, 48%)
CMYKcmyk(0%, 81.1%, 27.9%, 52.2%)
CIE-LABlab(28.00, 47.14, -13.63)
CIE-LCHlch(28.00, 49.07, 343.88°)
OKLaboklab(39.89% 0.1433 -0.0362)
OKLCHoklch(39.89% 0.148 345.8)
XYZxyz(10.0944, 5.4561, 9.7522)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1758 #177A39
analogous
#6A177A #7A1758 #7A1726
triadic
#7A1758 #587A17 #17587A
tetradic
#7A1758 #7A6A17 #177A39 #17267A
square
#7A1758 #7A6A17 #177A39 #17267A
split-complementary
#7A1758 #267A17 #177A6A
monochromatic
#1A0513 #470D33 #7A1758 #AD217D #D933A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A1758#FFFFFF#000000##FFFFFF
##7A17581.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)
#25375A
Deuteranopia (green-blind)
#434856
Tritanopia (blue-blind)
#831436
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1758;
/* rgb */ color: rgb(122, 23, 88);
/* oklch */ color: oklch(39.9% 0.148 345.8);
Tailwind
colors: {
  custom: {
    50: '#a46087',
    500: '#7a1758',
    950: '#000000',
  },
}
SCSS
$custom: #7a1758;
$custom-light: #a46087;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1758",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 88
  },
  "hsl": {
    "h": 320.606,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3989,
    "c": 0.14777,
    "h": 345.8
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#7A1758
secondary
#3EAF65
accent
#EB793D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7A1758

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

Preview Lab → · Contrast checker → · Palette generator →

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