#7A1545#7A1545

#7A1545 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.140 H 357.6°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#7A1545
RGBrgb(122, 21, 69)
HSLhsl(331, 71%, 28%)
HSVhsv(331, 83%, 48%)
CMYKcmyk(0%, 82.8%, 43.4%, 52.2%)
CIE-LABlab(27.03, 45.49, -2.42)
CIE-LCHlch(27.03, 45.56, 356.95°)
OKLaboklab(38.94% 0.14 -0.0058)
OKLCHoklch(38.94% 0.14 357.6)
XYZxyz(9.3691, 5.1048, 6.1210)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1545 #157A4A
analogous
#7A1577 #7A1545 #7A1715
triadic
#7A1545 #457A15 #15457A
tetradic
#7A1545 #777A15 #157A4A #17157A
square
#7A1545 #777A15 #157A4A #17157A
split-complementary
#7A1545 #157A17 #15777A
monochromatic
#1A040F #460C27 #7A1545 #AE1E63 #DB2E80

Accessibility & contrast

On white

10.39
#7A1545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7A1545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1545
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1545#FFFFFF#000000##FFFFFF
##7A15451.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3446
Deuteranopia (green-blind)
#484743
Tritanopia (blue-blind)
#85022B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1545;
/* rgb */ color: rgb(122, 21, 69);
/* oklch */ color: oklch(38.9% 0.140 357.6);
Tailwind
colors: {
  custom: {
    50: '#a55f78',
    500: '#7a1545',
    950: '#000000',
  },
}
SCSS
$custom: #7a1545;
$custom-light: #a55f78;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1545",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 69
  },
  "hsl": {
    "h": 331.485,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38941,
    "c": 0.14008,
    "h": 357.6
  },
  "luminance": 0.05104
}

Semantic roles & 50–950 ramp

primary
#7A1545
secondary
#3BAF78
accent
#ED983A
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #7A1545

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

Preview Lab → · Contrast checker → · Palette generator →

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