#7A1748#7A1748

#7A1748 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.139 H 355.9°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#7A1748
RGBrgb(122, 23, 72)
HSLhsl(330, 68%, 28%)
HSVhsv(330, 81%, 48%)
CMYKcmyk(0%, 81.1%, 41%, 52.2%)
CIE-LABlab(27.35, 45.21, -3.97)
CIE-LCHlch(27.35, 45.38, 354.99°)
OKLaboklab(39.21% 0.139 -0.0099)
OKLCHoklch(39.21% 0.139 355.9)
XYZxyz(9.5028, 5.2195, 6.6367)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1748 #177A49
analogous
#7A1779 #7A1748 #7A1717
triadic
#7A1748 #487A17 #17487A
tetradic
#7A1748 #797A17 #177A49 #17177A
square
#7A1748 #797A17 #177A49 #17177A
split-complementary
#7A1748 #177A17 #17797A
monochromatic
#1A050F #470D2A #7A1748 #AD2166 #D93385

Accessibility & contrast

On white

10.28
#7A1748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7A1748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1748
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1748#FFFFFF#000000##FFFFFF
##7A17481.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3549
Deuteranopia (green-blind)
#484746
Tritanopia (blue-blind)
#84082D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1748;
/* rgb */ color: rgb(122, 23, 72);
/* oklch */ color: oklch(39.2% 0.139 355.9);
Tailwind
colors: {
  custom: {
    50: '#a5607a',
    500: '#7a1748',
    950: '#000000',
  },
}
SCSS
$custom: #7a1748;
$custom-light: #a5607a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1748",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 330.303,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39209,
    "c": 0.13935,
    "h": 355.9
  },
  "luminance": 0.05218
}

Semantic roles & 50–950 ramp

primary
#7A1748
secondary
#3EAF77
accent
#EB953D
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #7A1748

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

Preview Lab → · Contrast checker → · Palette generator →

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