#7A1840#7A1840

#7A1840 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.0% C 0.135 H 1.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#7A1840
RGBrgb(122, 24, 64)
HSLhsl(336, 67%, 29%)
HSVhsv(336, 80%, 48%)
CMYKcmyk(0%, 80.3%, 47.5%, 52.2%)
CIE-LABlab(27.19, 44.05, 1.18)
CIE-LCHlch(27.19, 44.07, 1.54°)
OKLaboklab(39% 0.1352 0.0035)
OKLCHoklch(39% 0.135 1.5)
XYZxyz(9.2788, 5.1623, 5.3573)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1840 #187A52
analogous
#7A1871 #7A1840 #7A2118
triadic
#7A1840 #407A18 #18407A
tetradic
#7A1840 #717A18 #187A52 #21187A
square
#7A1840 #717A18 #187A52 #21187A
split-complementary
#7A1840 #187A21 #18717A
monochromatic
#1A050D #470E25 #7A1840 #AD225B #D73577

Accessibility & contrast

On white

10.33
#7A1840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7A1840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1840
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1840#FFFFFF#000000##FFFFFF
##7A18401.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3441
Deuteranopia (green-blind)
#4A473E
Tritanopia (blue-blind)
#85032A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1840;
/* rgb */ color: rgb(122, 24, 64);
/* oklch */ color: oklch(39.0% 0.135 1.5);
Tailwind
colors: {
  custom: {
    50: '#a56074',
    500: '#7a1840',
    950: '#000000',
  },
}
SCSS
$custom: #7a1840;
$custom-light: #a56074;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1840",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 335.51,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39004,
    "c": 0.13527,
    "h": 1.5
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#7A1840
secondary
#3FAF81
accent
#EAA43E
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7A1840

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

Preview Lab → · Contrast checker → · Palette generator →

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