#7A1956#7A1956

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

Color values

HEX#7A1956
RGBrgb(122, 25, 86)
HSLhsl(322, 66%, 29%)
HSVhsv(322, 80%, 48%)
CMYKcmyk(0%, 79.5%, 29.5%, 52.2%)
CIE-LABlab(28.13, 46.25, -12.10)
CIE-LCHlch(28.13, 47.81, 345.33°)
OKLaboklab(39.96% 0.1409 -0.032)
OKLCHoklch(39.96% 0.144 347.2)
XYZxyz(10.0539, 5.5059, 9.3356)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1956 #197A3D
analogous
#6E197A #7A1956 #7A1926
triadic
#7A1956 #567A19 #19567A
tetradic
#7A1956 #7A6E19 #197A3D #19267A
square
#7A1956 #7A6E19 #197A3D #19267A
split-complementary
#7A1956 #267A19 #197A6E
monochromatic
#190512 #470F32 #7A1956 #AD237A #D6379B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A1956#FFFFFF#000000##FFFFFF
##7A19561.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)
#283858
Deuteranopia (green-blind)
#444854
Tritanopia (blue-blind)
#831535
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1956;
/* rgb */ color: rgb(122, 25, 86);
/* oklch */ color: oklch(40.0% 0.144 347.2);
Tailwind
colors: {
  custom: {
    50: '#a46185',
    500: '#7a1956',
    950: '#000000',
  },
}
SCSS
$custom: #7a1956;
$custom-light: #a46185;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1956",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 86
  },
  "hsl": {
    "h": 322.268,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39959,
    "c": 0.14444,
    "h": 347.2
  },
  "luminance": 0.05505
}

Semantic roles & 50–950 ramp

primary
#7A1956
secondary
#40AF69
accent
#E97E3F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7A1956

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

Preview Lab → · Contrast checker → · Palette generator →

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