#7A1948#7A1948

#7A1948 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.137 H 356.2°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#7A1948
RGBrgb(122, 25, 72)
HSLhsl(331, 66%, 29%)
HSVhsv(331, 80%, 48%)
CMYKcmyk(0%, 79.5%, 41%, 52.2%)
CIE-LABlab(27.58, 44.56, -3.63)
CIE-LCHlch(27.58, 44.71, 355.34°)
OKLaboklab(39.38% 0.1369 -0.009)
OKLCHoklch(39.38% 0.137 356.2)
XYZxyz(9.5440, 5.3019, 6.6504)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1948 #197A4B
analogous
#7A1979 #7A1948 #7A1B19
triadic
#7A1948 #487A19 #19487A
tetradic
#7A1948 #797A19 #197A4B #1B197A
square
#7A1948 #797A19 #197A4B #1B197A
split-complementary
#7A1948 #197A1B #19797A
monochromatic
#19050F #470F2A #7A1948 #AD2366 #D63784

Accessibility & contrast

On white

10.19
#7A1948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7A1948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1948
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1948#FFFFFF#000000##FFFFFF
##7A19481.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3649
Deuteranopia (green-blind)
#484846
Tritanopia (blue-blind)
#840B2E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1948;
/* rgb */ color: rgb(122, 25, 72);
/* oklch */ color: oklch(39.4% 0.137 356.2);
Tailwind
colors: {
  custom: {
    50: '#a5607a',
    500: '#7a1948',
    950: '#000000',
  },
}
SCSS
$custom: #7a1948;
$custom-light: #a5607a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1948",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 330.928,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39376,
    "c": 0.13724,
    "h": 356.2
  },
  "luminance": 0.05301
}

Semantic roles & 50–950 ramp

primary
#7A1948
secondary
#40AF79
accent
#E9973F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7A1948

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

Preview Lab → · Contrast checker → · Palette generator →

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