#7A1847#7A1847

#7A1847 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.3% C 0.138 H 356.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#7A1847
RGBrgb(122, 24, 71)
HSLhsl(331, 67%, 29%)
HSVhsv(331, 80%, 48%)
CMYKcmyk(0%, 80.3%, 41.8%, 52.2%)
CIE-LABlab(27.43, 44.78, -3.18)
CIE-LCHlch(27.43, 44.89, 355.93°)
OKLaboklab(39.25% 0.1377 -0.0078)
OKLCHoklch(39.25% 0.138 356.8)
XYZxyz(9.4907, 5.2470, 6.4730)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1847 #187A4B
analogous
#7A1878 #7A1847 #7A1A18
triadic
#7A1847 #477A18 #18477A
tetradic
#7A1847 #787A18 #187A4B #1A187A
square
#7A1847 #787A18 #187A4B #1A187A
split-complementary
#7A1847 #187A1A #18787A
monochromatic
#1A050F #470E29 #7A1847 #AD2265 #D73583

Accessibility & contrast

On white

10.25
#7A1847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1847
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1847#FFFFFF#000000##FFFFFF
##7A18471.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3548
Deuteranopia (green-blind)
#484745
Tritanopia (blue-blind)
#84082D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1847;
/* rgb */ color: rgb(122, 24, 71);
/* oklch */ color: oklch(39.3% 0.138 356.8);
Tailwind
colors: {
  custom: {
    50: '#a5607a',
    500: '#7a1847',
    950: '#000000',
  },
}
SCSS
$custom: #7a1847;
$custom-light: #a5607a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1847",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 331.224,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39253,
    "c": 0.13789,
    "h": 356.8
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#7A1847
secondary
#3FAF79
accent
#EA973E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7A1847

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

Preview Lab → · Contrast checker → · Palette generator →

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