#7A1546#7A1546

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

Color values

HEX#7A1546
RGBrgb(122, 21, 70)
HSLhsl(331, 71%, 28%)
HSVhsv(331, 83%, 48%)
CMYKcmyk(0%, 82.8%, 42.6%, 52.2%)
CIE-LABlab(27.07, 45.60, -3.05)
CIE-LCHlch(27.07, 45.70, 356.18°)
OKLaboklab(38.98% 0.1403 -0.0074)
OKLCHoklch(38.98% 0.14 357)
XYZxyz(9.4004, 5.1173, 6.2859)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1546 #157A49
analogous
#7A1578 #7A1546 #7A1615
triadic
#7A1546 #467A15 #15467A
tetradic
#7A1546 #787A15 #157A49 #16157A
square
#7A1546 #787A15 #157A49 #16157A
split-complementary
#7A1546 #157A16 #15787A
monochromatic
#1A040F #460C28 #7A1546 #AE1E64 #DB2E82

Accessibility & contrast

On white

10.38
#7A1546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1546
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1546#FFFFFF#000000##FFFFFF
##7A15461.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3447
Deuteranopia (green-blind)
#484744
Tritanopia (blue-blind)
#85032C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1546;
/* rgb */ color: rgb(122, 21, 70);
/* oklch */ color: oklch(39.0% 0.140 357.0);
Tailwind
colors: {
  custom: {
    50: '#a55f79',
    500: '#7a1546',
    950: '#000000',
  },
}
SCSS
$custom: #7a1546;
$custom-light: #a55f79;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1546",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 70
  },
  "hsl": {
    "h": 330.891,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38978,
    "c": 0.14049,
    "h": 357
  },
  "luminance": 0.05116
}

Semantic roles & 50–950 ramp

primary
#7A1546
secondary
#3BAF77
accent
#ED973A
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #7A1546

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

Preview Lab → · Contrast checker → · Palette generator →

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