#7A1648#7A1648

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

Color values

HEX#7A1648
RGBrgb(122, 22, 72)
HSLhsl(330, 69%, 28%)
HSVhsv(330, 82%, 48%)
CMYKcmyk(0%, 82%, 41%, 52.2%)
CIE-LABlab(27.24, 45.51, -4.13)
CIE-LCHlch(27.24, 45.70, 354.82°)
OKLaboklab(39.13% 0.14 -0.0103)
OKLCHoklch(39.13% 0.14 355.8)
XYZxyz(9.4833, 5.1805, 6.6302)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1648 #167A48
analogous
#7A167A #7A1648 #7A1616
triadic
#7A1648 #487A16 #16487A
tetradic
#7A1648 #7A7A16 #167A48 #16167A
square
#7A1648 #7A7A16 #167A48 #16167A
split-complementary
#7A1648 #167A16 #167A7A
monochromatic
#1A050F #460D29 #7A1648 #AE1F67 #DA3185

Accessibility & contrast

On white

10.32
#7A1648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1648
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1648#FFFFFF#000000##FFFFFF
##7A16481.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3549
Deuteranopia (green-blind)
#474746
Tritanopia (blue-blind)
#84062D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1648;
/* rgb */ color: rgb(122, 22, 72);
/* oklch */ color: oklch(39.1% 0.140 355.8);
Tailwind
colors: {
  custom: {
    50: '#a55f7a',
    500: '#7a1648',
    950: '#000000',
  },
}
SCSS
$custom: #7a1648;
$custom-light: #a55f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1648",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 72
  },
  "hsl": {
    "h": 330,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3913,
    "c": 0.14037,
    "h": 355.8
  },
  "luminance": 0.05179
}

Semantic roles & 50–950 ramp

primary
#7A1648
secondary
#3DAF76
accent
#EC943C
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #7A1648

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

Preview Lab → · Contrast checker → · Palette generator →

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