#7A1542#7A1542

#7A1542 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.8% C 0.139 H 359.6°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#7A1542
RGBrgb(122, 21, 66)
HSLhsl(333, 71%, 28%)
HSVhsv(333, 83%, 48%)
CMYKcmyk(0%, 82.8%, 45.9%, 52.2%)
CIE-LABlab(26.93, 45.18, -0.55)
CIE-LCHlch(26.93, 45.19, 359.30°)
OKLaboklab(38.83% 0.1389 -0.0009)
OKLCHoklch(38.83% 0.139 359.6)
XYZxyz(9.2783, 5.0685, 5.6429)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1542 #157A4D
analogous
#7A1574 #7A1542 #7A1A15
triadic
#7A1542 #427A15 #15427A
tetradic
#7A1542 #747A15 #157A4D #1A157A
square
#7A1542 #747A15 #157A4D #1A157A
split-complementary
#7A1542 #157A1A #15747A
monochromatic
#1A040E #460C26 #7A1542 #AE1E5E #DB2E7B

Accessibility & contrast

On white

10.43
#7A1542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7A1542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1542
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1542#FFFFFF#000000##FFFFFF
##7A15421.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3343
Deuteranopia (green-blind)
#484740
Tritanopia (blue-blind)
#85002A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1542;
/* rgb */ color: rgb(122, 21, 66);
/* oklch */ color: oklch(38.8% 0.139 359.6);
Tailwind
colors: {
  custom: {
    50: '#a55f76',
    500: '#7a1542',
    950: '#000000',
  },
}
SCSS
$custom: #7a1542;
$custom-light: #a55f76;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1542",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 66
  },
  "hsl": {
    "h": 333.267,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38833,
    "c": 0.13893,
    "h": 359.6
  },
  "luminance": 0.05067
}

Semantic roles & 50–950 ramp

primary
#7A1542
secondary
#3BAF7C
accent
#ED9E3A
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7A1542

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

Preview Lab → · Contrast checker → · Palette generator →

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