#7A2140#7A2140

#7A2140 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 39.9% C 0.125 H 3.6°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#7A2140
RGBrgb(122, 33, 64)
HSLhsl(339, 57%, 30%)
HSVhsv(339, 73%, 48%)
CMYKcmyk(0%, 73%, 47.5%, 52.2%)
CIE-LABlab(28.37, 40.75, 2.89)
CIE-LCHlch(28.37, 40.86, 4.05°)
OKLaboklab(39.87% 0.1246 0.0079)
OKLCHoklch(39.87% 0.125 3.6)
XYZxyz(9.4961, 5.5967, 5.4297)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2140 #217A5B
analogous
#7A216C #7A2140 #7A2E21
triadic
#7A2140 #407A21 #21407A
tetradic
#7A2140 #6C7A21 #217A5B #2E217A
square
#7A2140 #6C7A21 #217A5B #2E217A
split-complementary
#7A2140 #217A2E #216C7A
monochromatic
#1A070D #4A1427 #7A2140 #AA2E59 #CD4876

Accessibility & contrast

On white

9.91
#7A2140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2140
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2140#FFFFFF#000000##FFFFFF
##7A21401.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353841
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#85132E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a2140;
/* rgb */ color: rgb(122, 33, 64);
/* oklch */ color: oklch(39.9% 0.125 3.6);
Tailwind
colors: {
  custom: {
    50: '#a56474',
    500: '#7a2140',
    950: '#000000',
  },
}
SCSS
$custom: #7a2140;
$custom-light: #a56474;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2140",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 339.101,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39873,
    "c": 0.12489,
    "h": 3.6
  },
  "luminance": 0.05595
}

Semantic roles & 50–950 ramp

primary
#7A2140
secondary
#4AAD8A
accent
#E1AB47
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7A2140

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

Preview Lab → · Contrast checker → · Palette generator →

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