#7A1940#7A1940

#7A1940 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.134 H 1.7°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#7A1940
RGBrgb(122, 25, 64)
HSLhsl(336, 66%, 29%)
HSVhsv(336, 80%, 48%)
CMYKcmyk(0%, 79.5%, 47.5%, 52.2%)
CIE-LABlab(27.31, 43.72, 1.35)
CIE-LCHlch(27.31, 43.74, 1.77°)
OKLaboklab(39.09% 0.1342 0.004)
OKLCHoklch(39.09% 0.134 1.7)
XYZxyz(9.2998, 5.2042, 5.3643)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1940 #197A53
analogous
#7A1971 #7A1940 #7A2319
triadic
#7A1940 #407A19 #19407A
tetradic
#7A1940 #717A19 #197A53 #23197A
square
#7A1940 #717A19 #197A53 #23197A
split-complementary
#7A1940 #197A23 #19717A
monochromatic
#19050D #470F25 #7A1940 #AD235B #D63777

Accessibility & contrast

On white

10.29
#7A1940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7A1940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1940
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1940#FFFFFF#000000##FFFFFF
##7A19401.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303541
Deuteranopia (green-blind)
#4A473E
Tritanopia (blue-blind)
#85042A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1940;
/* rgb */ color: rgb(122, 25, 64);
/* oklch */ color: oklch(39.1% 0.134 1.7);
Tailwind
colors: {
  custom: {
    50: '#a56074',
    500: '#7a1940',
    950: '#000000',
  },
}
SCSS
$custom: #7a1940;
$custom-light: #a56074;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1940",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 335.876,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3909,
    "c": 0.13422,
    "h": 1.7
  },
  "luminance": 0.05203
}

Semantic roles & 50–950 ramp

primary
#7A1940
secondary
#40AF82
accent
#E9A53F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7A1940

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

Preview Lab → · Contrast checker → · Palette generator →

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