#7B1856#7B1856

#7B1856 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.146 H 347.5°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#7B1856
RGBrgb(123, 24, 86)
HSLhsl(322, 67%, 29%)
HSVhsv(322, 80%, 48%)
CMYKcmyk(0%, 80.5%, 30.1%, 51.8%)
CIE-LABlab(28.21, 46.84, -11.96)
CIE-LCHlch(28.21, 48.34, 345.68°)
OKLaboklab(40.06% 0.1428 -0.0315)
OKLCHoklch(40.06% 0.146 347.5)
XYZxyz(10.1752, 5.5373, 9.3352)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1856 #187B3D
analogous
#6F187B #7B1856 #7B1825
triadic
#7B1856 #567B18 #18567B
tetradic
#7B1856 #7B6F18 #187B3D #18257B
square
#7B1856 #7B6F18 #187B3D #18257B
split-complementary
#7B1856 #257B18 #187B6F
monochromatic
#1A0512 #480E32 #7B1856 #AE227A #D8369B

Accessibility & contrast

On white

9.97
#7B1856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7B1856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1856
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1856#FFFFFF#000000##FFFFFF
##7B18561.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273858
Deuteranopia (green-blind)
#454954
Tritanopia (blue-blind)
#841335
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1856;
/* rgb */ color: rgb(123, 24, 86);
/* oklch */ color: oklch(40.1% 0.146 347.5);
Tailwind
colors: {
  custom: {
    50: '#a56185',
    500: '#7b1856',
    950: '#000000',
  },
}
SCSS
$custom: #7b1856;
$custom-light: #a56185;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1856",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 86
  },
  "hsl": {
    "h": 322.424,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40056,
    "c": 0.14624,
    "h": 347.5
  },
  "luminance": 0.05536
}

Semantic roles & 50–950 ramp

primary
#7B1856
secondary
#3FB069
accent
#EA7E3E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B1856

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

Preview Lab → · Contrast checker → · Palette generator →

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