#7A1846#7A1846

#7A1846 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.137 H 357.4°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#7A1846
RGBrgb(122, 24, 70)
HSLhsl(332, 67%, 29%)
HSVhsv(332, 80%, 48%)
CMYKcmyk(0%, 80.3%, 42.6%, 52.2%)
CIE-LABlab(27.39, 44.67, -2.56)
CIE-LCHlch(27.39, 44.74, 356.72°)
OKLaboklab(39.22% 0.1373 -0.0062)
OKLCHoklch(39.22% 0.137 357.4)
XYZxyz(9.4589, 5.2343, 6.3054)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1846 #187A4C
analogous
#7A1877 #7A1846 #7A1B18
triadic
#7A1846 #467A18 #18467A
tetradic
#7A1846 #777A18 #187A4C #1B187A
square
#7A1846 #777A18 #187A4C #1B187A
split-complementary
#7A1846 #187A1B #18777A
monochromatic
#1A050F #470E29 #7A1846 #AD2263 #D73581

Accessibility & contrast

On white

10.26
#7A1846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7A1846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1846
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1846#FFFFFF#000000##FFFFFF
##7A18461.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3547
Deuteranopia (green-blind)
#484744
Tritanopia (blue-blind)
#85082D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1846;
/* rgb */ color: rgb(122, 24, 70);
/* oklch */ color: oklch(39.2% 0.137 357.4);
Tailwind
colors: {
  custom: {
    50: '#a56079',
    500: '#7a1846',
    950: '#000000',
  },
}
SCSS
$custom: #7a1846;
$custom-light: #a56079;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1846",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 70
  },
  "hsl": {
    "h": 331.837,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39216,
    "c": 0.13747,
    "h": 357.4
  },
  "luminance": 0.05233
}

Semantic roles & 50–950 ramp

primary
#7A1846
secondary
#3FAF7A
accent
#EA993E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7A1846

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

Preview Lab → · Contrast checker → · Palette generator →

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