#7A1647#7A1647

#7A1647 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.140 H 356.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#7A1647
RGBrgb(122, 22, 71)
HSLhsl(331, 69%, 28%)
HSVhsv(331, 82%, 48%)
CMYKcmyk(0%, 82%, 41.8%, 52.2%)
CIE-LABlab(27.21, 45.41, -3.51)
CIE-LCHlch(27.21, 45.54, 355.58°)
OKLaboklab(39.09% 0.1397 -0.0087)
OKLCHoklch(39.09% 0.14 356.5)
XYZxyz(9.4510, 5.1675, 6.4598)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1647 #167A49
analogous
#7A1679 #7A1647 #7A1716
triadic
#7A1647 #477A16 #16477A
tetradic
#7A1647 #797A16 #167A49 #17167A
square
#7A1647 #797A16 #167A49 #17167A
split-complementary
#7A1647 #167A17 #16797A
monochromatic
#1A050F #460D29 #7A1647 #AE1F65 #DA3184

Accessibility & contrast

On white

10.33
#7A1647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7A1647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1647
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1647#FFFFFF#000000##FFFFFF
##7A16471.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3448
Deuteranopia (green-blind)
#484745
Tritanopia (blue-blind)
#84052C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1647;
/* rgb */ color: rgb(122, 22, 71);
/* oklch */ color: oklch(39.1% 0.140 356.5);
Tailwind
colors: {
  custom: {
    50: '#a55f7a',
    500: '#7a1647',
    950: '#000000',
  },
}
SCSS
$custom: #7a1647;
$custom-light: #a55f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1647",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 71
  },
  "hsl": {
    "h": 330.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39092,
    "c": 0.13994,
    "h": 356.5
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

primary
#7A1647
secondary
#3DAF77
accent
#EC963C
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #7A1647

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

Preview Lab → · Contrast checker → · Palette generator →

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