#7A1642#7A1642

#7A1642 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.138 H 359.8°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#7A1642
RGBrgb(122, 22, 66)
HSLhsl(334, 69%, 28%)
HSVhsv(334, 82%, 48%)
CMYKcmyk(0%, 82%, 45.9%, 52.2%)
CIE-LABlab(27.03, 44.88, -0.40)
CIE-LCHlch(27.03, 44.88, 359.49°)
OKLaboklab(38.91% 0.138 -0.0005)
OKLCHoklch(38.91% 0.138 359.8)
XYZxyz(9.2971, 5.1060, 5.6492)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1642 #167A4E
analogous
#7A1674 #7A1642 #7A1C16
triadic
#7A1642 #427A16 #16427A
tetradic
#7A1642 #747A16 #167A4E #1C167A
square
#7A1642 #747A16 #167A4E #1C167A
split-complementary
#7A1642 #167A1C #16747A
monochromatic
#1A050E #460D26 #7A1642 #AE1F5E #DA317B

Accessibility & contrast

On white

10.39
#7A1642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7A1642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1642
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1642#FFFFFF#000000##FFFFFF
##7A16421.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3443
Deuteranopia (green-blind)
#494740
Tritanopia (blue-blind)
#85012A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1642;
/* rgb */ color: rgb(122, 22, 66);
/* oklch */ color: oklch(38.9% 0.138 359.8);
Tailwind
colors: {
  custom: {
    50: '#a55f76',
    500: '#7a1642',
    950: '#000000',
  },
}
SCSS
$custom: #7a1642;
$custom-light: #a55f76;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1642",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 66
  },
  "hsl": {
    "h": 333.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3891,
    "c": 0.13797,
    "h": 359.8
  },
  "luminance": 0.05105
}

Semantic roles & 50–950 ramp

primary
#7A1642
secondary
#3DAF7D
accent
#EC9F3C
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7A1642

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

Preview Lab → · Contrast checker → · Palette generator →

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