#7A1E40#7A1E40

#7A1E40 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.129 H 2.8°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#7A1E40
RGBrgb(122, 30, 64)
HSLhsl(338, 61%, 30%)
HSVhsv(338, 75%, 48%)
CMYKcmyk(0%, 75.4%, 47.5%, 52.2%)
CIE-LABlab(27.95, 41.93, 2.27)
CIE-LCHlch(27.95, 42.00, 3.10°)
OKLaboklab(39.56% 0.1284 0.0063)
OKLCHoklch(39.56% 0.129 2.8)
XYZxyz(9.4165, 5.4375, 5.4032)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E40 #1E7A58
analogous
#7A1E6E #7A1E40 #7A2A1E
triadic
#7A1E40 #407A1E #1E407A
tetradic
#7A1E40 #6E7A1E #1E7A58 #2A1E7A
square
#7A1E40 #6E7A1E #1E7A58 #2A1E7A
split-complementary
#7A1E40 #1E7A2A #1E6E7A
monochromatic
#19060D #491226 #7A1E40 #AB2A5A #D04277

Accessibility & contrast

On white

10.06
#7A1E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7A1E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E40
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E40#FFFFFF#000000##FFFFFF
##7A1E401.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333741
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#850E2C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1e40;
/* rgb */ color: rgb(122, 30, 64);
/* oklch */ color: oklch(39.6% 0.129 2.8);
Tailwind
colors: {
  custom: {
    50: '#a56274',
    500: '#7a1e40',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e40;
$custom-light: #a56274;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e40",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 337.826,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39559,
    "c": 0.12857,
    "h": 2.8
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

primary
#7A1E40
secondary
#46AE87
accent
#E4A944
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7A1E40

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

Preview Lab → · Contrast checker → · Palette generator →

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