#7B1852#7B1852

#7B1852 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.144 H 350.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#7B1852
RGBrgb(123, 24, 82)
HSLhsl(325, 67%, 29%)
HSVhsv(325, 80%, 48%)
CMYKcmyk(0%, 80.5%, 33.3%, 51.8%)
CIE-LABlab(28.05, 46.33, -9.57)
CIE-LCHlch(28.05, 47.31, 348.33°)
OKLaboklab(39.88% 0.1418 -0.025)
OKLCHoklch(39.88% 0.144 350)
XYZxyz(10.0186, 5.4746, 8.5101)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1852 #187B41
analogous
#73187B #7B1852 #7B1821
triadic
#7B1852 #527B18 #18527B
tetradic
#7B1852 #7B7318 #187B41 #18217B
square
#7B1852 #7B7318 #187B41 #18217B
split-complementary
#7B1852 #217B18 #187B73
monochromatic
#1A0511 #480E30 #7B1852 #AE2274 #D83695

Accessibility & contrast

On white

10.03
#7B1852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7B1852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1852
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1852#FFFFFF#000000##FFFFFF
##7B18521.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293753
Deuteranopia (green-blind)
#464850
Tritanopia (blue-blind)
#851133
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1852;
/* rgb */ color: rgb(123, 24, 82);
/* oklch */ color: oklch(39.9% 0.144 350.0);
Tailwind
colors: {
  custom: {
    50: '#a56182',
    500: '#7b1852',
    950: '#000000',
  },
}
SCSS
$custom: #7b1852;
$custom-light: #a56182;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1852",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 324.848,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39879,
    "c": 0.144,
    "h": 350
  },
  "luminance": 0.05473
}

Semantic roles & 50–950 ramp

primary
#7B1852
secondary
#3FB06E
accent
#EA853E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7B1852

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

Preview Lab → · Contrast checker → · Palette generator →

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