#7A1E4C#7A1E4C

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

Color values

HEX#7A1E4C
RGBrgb(122, 30, 76)
HSLhsl(330, 61%, 30%)
HSVhsv(330, 75%, 48%)
CMYKcmyk(0%, 75.4%, 37.7%, 52.2%)
CIE-LABlab(28.35, 43.25, -5.15)
CIE-LCHlch(28.35, 43.56, 353.21°)
OKLaboklab(39.99% 0.1326 -0.013)
OKLCHoklch(39.99% 0.133 354.4)
XYZxyz(9.7954, 5.5891, 7.3990)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E4C #1E7A4C
analogous
#7A1E7A #7A1E4C #7A1E1E
triadic
#7A1E4C #4C7A1E #1E4C7A
tetradic
#7A1E4C #7A7A1E #1E7A4C #1E1E7A
square
#7A1E4C #7A7A1E #1E7A4C #1E1E7A
split-complementary
#7A1E4C #1E7A1E #1E7A7A
monochromatic
#19060F #49122D #7A1E4C #AB2A6B #D04289

Accessibility & contrast

On white

9.92
#7A1E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1E4C
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E4C#FFFFFF#000000##FFFFFF
##7A1E4C1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F384D
Deuteranopia (green-blind)
#49494A
Tritanopia (blue-blind)
#841532
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1e4c;
/* rgb */ color: rgb(122, 30, 76);
/* oklch */ color: oklch(40.0% 0.133 354.4);
Tailwind
colors: {
  custom: {
    50: '#a4637e',
    500: '#7a1e4c',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e4c;
$custom-light: #a4637e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e4c",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 76
  },
  "hsl": {
    "h": 330,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3999,
    "c": 0.13326,
    "h": 354.4
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#7A1E4C
secondary
#46AE7A
accent
#E49444
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A1E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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