#7A2A42#7A2A42

#7A2A42 is a dark, moderate pink. Relative luminance 0.062; OKLCH L 41.0% C 0.113 H 5.1°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7A2A42
RGBrgb(122, 42, 66)
HSLhsl(342, 49%, 32%)
HSVhsv(342, 66%, 48%)
CMYKcmyk(0%, 65.6%, 45.9%, 52.2%)
CIE-LABlab(29.88, 37.00, 3.73)
CIE-LCHlch(29.88, 37.18, 5.75°)
OKLaboklab(41.01% 0.1128 0.01)
OKLCHoklch(41.01% 0.113 5.1)
XYZxyz(9.8381, 6.1880, 5.8295)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2A42 #2A7A62
analogous
#7A2A6A #7A2A42 #7A3A2A
triadic
#7A2A42 #427A2A #2A427A
tetradic
#7A2A42 #6A7A2A #2A7A62 #3A2A7A
square
#7A2A42 #6A7A2A #2A7A62 #3A2A7A
split-complementary
#7A2A42 #2A7A3A #2A6A7A
monochromatic
#1F0B11 #4C1A29 #7A2A42 #A83A5B #C65979

Accessibility & contrast

On white

9.39
#7A2A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7A2A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2A42
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2A42#FFFFFF#000000##FFFFFF
##7A2A421.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C43
Deuteranopia (green-blind)
#4F4C40
Tritanopia (blue-blind)
#852033
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a2a42;
/* rgb */ color: rgb(122, 42, 66);
/* oklch */ color: oklch(41.0% 0.113 5.1);
Tailwind
colors: {
  custom: {
    50: '#a46876',
    500: '#7a2a42',
    950: '#000000',
  },
}
SCSS
$custom: #7a2a42;
$custom-light: #a46876;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2a42",
  "rgb": {
    "r": 122,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 342,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41014,
    "c": 0.11325,
    "h": 5.1
  },
  "luminance": 0.06187
}

Semantic roles & 50–950 ramp

primary
#7A2A42
secondary
#55AB91
accent
#D8AF4F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7A2A42

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

Preview Lab → · Contrast checker → · Palette generator →

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