#7A1747#7A1747

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

Color values

HEX#7A1747
RGBrgb(122, 23, 71)
HSLhsl(331, 68%, 28%)
HSVhsv(331, 81%, 48%)
CMYKcmyk(0%, 81.1%, 41.8%, 52.2%)
CIE-LABlab(27.32, 45.10, -3.35)
CIE-LCHlch(27.32, 45.22, 355.75°)
OKLaboklab(39.17% 0.1387 -0.0082)
OKLCHoklch(39.17% 0.139 356.6)
XYZxyz(9.4704, 5.2065, 6.4663)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1747 #177A4A
analogous
#7A1778 #7A1747 #7A1817
triadic
#7A1747 #477A17 #17477A
tetradic
#7A1747 #787A17 #177A4A #18177A
square
#7A1747 #787A17 #177A4A #18177A
split-complementary
#7A1747 #177A18 #17787A
monochromatic
#1A050F #470D29 #7A1747 #AD2165 #D93383

Accessibility & contrast

On white

10.29
#7A1747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1747
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1747#FFFFFF#000000##FFFFFF
##7A17471.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3548
Deuteranopia (green-blind)
#484745
Tritanopia (blue-blind)
#84072D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1747;
/* rgb */ color: rgb(122, 23, 71);
/* oklch */ color: oklch(39.2% 0.139 356.6);
Tailwind
colors: {
  custom: {
    50: '#a5607a',
    500: '#7a1747',
    950: '#000000',
  },
}
SCSS
$custom: #7a1747;
$custom-light: #a5607a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1747",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 71
  },
  "hsl": {
    "h": 330.909,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39171,
    "c": 0.13892,
    "h": 356.6
  },
  "luminance": 0.05205
}

Semantic roles & 50–950 ramp

primary
#7A1747
secondary
#3EAF78
accent
#EB973D
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #7A1747

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

Preview Lab → · Contrast checker → · Palette generator →

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