#7B1847#7B1847

#7B1847 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.139 H 357.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#7B1847
RGBrgb(123, 24, 71)
HSLhsl(332, 67%, 29%)
HSVhsv(332, 80%, 48%)
CMYKcmyk(0%, 80.5%, 42.3%, 51.8%)
CIE-LABlab(27.63, 45.06, -2.86)
CIE-LCHlch(27.63, 45.15, 356.37°)
OKLaboklab(39.44% 0.1386 -0.007)
OKLCHoklch(39.44% 0.139 357.1)
XYZxyz(9.6330, 5.3204, 6.4797)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1847 #187B4C
analogous
#7B1879 #7B1847 #7B1B18
triadic
#7B1847 #477B18 #18477B
tetradic
#7B1847 #797B18 #187B4C #1B187B
square
#7B1847 #797B18 #187B4C #1B187B
split-complementary
#7B1847 #187B1B #18797B
monochromatic
#1A050F #480E29 #7B1847 #AE2265 #D83683

Accessibility & contrast

On white

10.18
#7B1847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7B1847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1847
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1847#FFFFFF#000000##FFFFFF
##7B18471.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3548
Deuteranopia (green-blind)
#494845
Tritanopia (blue-blind)
#86072D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1847;
/* rgb */ color: rgb(123, 24, 71);
/* oklch */ color: oklch(39.4% 0.139 357.1);
Tailwind
colors: {
  custom: {
    50: '#a6607a',
    500: '#7b1847',
    950: '#000000',
  },
}
SCSS
$custom: #7b1847;
$custom-light: #a6607a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1847",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 331.515,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39438,
    "c": 0.13872,
    "h": 357.1
  },
  "luminance": 0.05319
}

Semantic roles & 50–950 ramp

primary
#7B1847
secondary
#3FB07A
accent
#EA983E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7B1847

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

Preview Lab → · Contrast checker → · Palette generator →

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