#7A1958#7A1958

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

Color values

HEX#7A1958
RGBrgb(122, 25, 88)
HSLhsl(321, 66%, 29%)
HSVhsv(321, 80%, 48%)
CMYKcmyk(0%, 79.5%, 27.9%, 52.2%)
CIE-LABlab(28.22, 46.51, -13.29)
CIE-LCHlch(28.22, 48.38, 344.06°)
OKLaboklab(40.05% 0.1413 -0.0352)
OKLCHoklch(40.05% 0.146 346)
XYZxyz(10.1356, 5.5385, 9.7659)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1958 #197A3B
analogous
#6C197A #7A1958 #7A1928
triadic
#7A1958 #587A19 #19587A
tetradic
#7A1958 #7A6C19 #197A3B #19287A
square
#7A1958 #7A6C19 #197A3B #19287A
split-complementary
#7A1958 #287A19 #197A6C
monochromatic
#190512 #470F33 #7A1958 #AD237D #D6379E

Accessibility & contrast

On white

9.96
#7A1958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7A1958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1958
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1958#FFFFFF#000000##FFFFFF
##7A19581.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27385A
Deuteranopia (green-blind)
#444856
Tritanopia (blue-blind)
#831636
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1958;
/* rgb */ color: rgb(122, 25, 88);
/* oklch */ color: oklch(40.1% 0.146 346.0);
Tailwind
colors: {
  custom: {
    50: '#a46187',
    500: '#7a1958',
    950: '#000000',
  },
}
SCSS
$custom: #7a1958;
$custom-light: #a46187;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1958",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 321.031,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4005,
    "c": 0.14564,
    "h": 346
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#7A1958
secondary
#40AF67
accent
#E97A3F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7A1958

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

Preview Lab → · Contrast checker → · Palette generator →

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