#7A1952#7A1952

#7A1952 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.142 H 349.7°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#7A1952
RGBrgb(122, 25, 82)
HSLhsl(325, 66%, 29%)
HSVhsv(325, 80%, 48%)
CMYKcmyk(0%, 79.5%, 32.8%, 52.2%)
CIE-LABlab(27.96, 45.74, -9.72)
CIE-LCHlch(27.96, 46.76, 348.01°)
OKLaboklab(39.78% 0.1399 -0.0254)
OKLCHoklch(39.78% 0.142 349.7)
XYZxyz(9.8972, 5.4432, 8.5104)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1952 #197A41
analogous
#72197A #7A1952 #7A1922
triadic
#7A1952 #527A19 #19527A
tetradic
#7A1952 #7A7219 #197A41 #19227A
square
#7A1952 #7A7219 #197A41 #19227A
split-complementary
#7A1952 #227A19 #197A72
monochromatic
#190511 #470F30 #7A1952 #AD2374 #D63795

Accessibility & contrast

On white

10.06
#7A1952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1952
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1952#FFFFFF#000000##FFFFFF
##7A19521.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293753
Deuteranopia (green-blind)
#464850
Tritanopia (blue-blind)
#831233
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1952;
/* rgb */ color: rgb(122, 25, 82);
/* oklch */ color: oklch(39.8% 0.142 349.7);
Tailwind
colors: {
  custom: {
    50: '#a46182',
    500: '#7a1952',
    950: '#000000',
  },
}
SCSS
$custom: #7a1952;
$custom-light: #a46182;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1952",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 324.742,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39781,
    "c": 0.14217,
    "h": 349.7
  },
  "luminance": 0.05442
}

Semantic roles & 50–950 ramp

primary
#7A1952
secondary
#40AF6E
accent
#E9853F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7A1952

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

Preview Lab → · Contrast checker → · Palette generator →

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