#7A1E4D#7A1E4D

#7A1E4D is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.134 H 353.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7A1E4D
RGBrgb(122, 30, 77)
HSLhsl(329, 61%, 30%)
HSVhsv(329, 75%, 48%)
CMYKcmyk(0%, 75.4%, 36.9%, 52.2%)
CIE-LABlab(28.39, 43.37, -5.76)
CIE-LCHlch(28.39, 43.75, 352.44°)
OKLaboklab(40.03% 0.1329 -0.0147)
OKLCHoklch(40.03% 0.134 353.7)
XYZxyz(9.8305, 5.6031, 7.5836)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E4D #1E7A4B
analogous
#791E7A #7A1E4D #7A1E1F
triadic
#7A1E4D #4D7A1E #1E4D7A
tetradic
#7A1E4D #7A791E #1E7A4B #1E1F7A
square
#7A1E4D #7A791E #1E7A4B #1E1F7A
split-complementary
#7A1E4D #1F7A1E #1E7A79
monochromatic
#190610 #49122E #7A1E4D #AB2A6C #D0428B

Accessibility & contrast

On white

9.90
#7A1E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7A1E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E4D
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E4D#FFFFFF#000000##FFFFFF
##7A1E4D1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F384E
Deuteranopia (green-blind)
#49494B
Tritanopia (blue-blind)
#841632
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1e4d;
/* rgb */ color: rgb(122, 30, 77);
/* oklch */ color: oklch(40.0% 0.134 353.7);
Tailwind
colors: {
  custom: {
    50: '#a4637e',
    500: '#7a1e4d',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e4d;
$custom-light: #a4637e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e4d",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 329.348,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40029,
    "c": 0.13374,
    "h": 353.7
  },
  "luminance": 0.05602
}

Semantic roles & 50–950 ramp

primary
#7A1E4D
secondary
#46AE79
accent
#E49244
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A1E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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