#7A1547#7A1547

#7A1547 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.141 H 356.3°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#7A1547
RGBrgb(122, 21, 71)
HSLhsl(330, 71%, 28%)
HSVhsv(330, 83%, 48%)
CMYKcmyk(0%, 82.8%, 41.8%, 52.2%)
CIE-LABlab(27.10, 45.70, -3.66)
CIE-LCHlch(27.10, 45.85, 355.42°)
OKLaboklab(39.02% 0.1406 -0.0091)
OKLCHoklch(39.02% 0.141 356.3)
XYZxyz(9.4322, 5.1301, 6.4535)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1547 #157A48
analogous
#7A1579 #7A1547 #7A1615
triadic
#7A1547 #477A15 #15477A
tetradic
#7A1547 #797A15 #157A48 #16157A
square
#7A1547 #797A15 #157A48 #16157A
split-complementary
#7A1547 #157A16 #15797A
monochromatic
#1A040F #460C29 #7A1547 #AE1E65 #DB2E84

Accessibility & contrast

On white

10.37
#7A1547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7A1547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1547
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1547#FFFFFF#000000##FFFFFF
##7A15471.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3448
Deuteranopia (green-blind)
#474745
Tritanopia (blue-blind)
#84032C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1547;
/* rgb */ color: rgb(122, 21, 71);
/* oklch */ color: oklch(39.0% 0.141 356.3);
Tailwind
colors: {
  custom: {
    50: '#a55f7a',
    500: '#7a1547',
    950: '#000000',
  },
}
SCSS
$custom: #7a1547;
$custom-light: #a55f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1547",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 330.297,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39016,
    "c": 0.14091,
    "h": 356.3
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

primary
#7A1547
secondary
#3BAF76
accent
#ED953A
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #7A1547

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

Preview Lab → · Contrast checker → · Palette generator →

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