#7B1851#7B1851

#7B1851 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.143 H 350.6°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#7B1851
RGBrgb(123, 24, 81)
HSLhsl(325, 67%, 29%)
HSVhsv(325, 80%, 48%)
CMYKcmyk(0%, 80.5%, 34.1%, 51.8%)
CIE-LABlab(28.01, 46.21, -8.97)
CIE-LCHlch(28.01, 47.07, 349.02°)
OKLaboklab(39.84% 0.1416 -0.0233)
OKLCHoklch(39.84% 0.143 350.6)
XYZxyz(9.9808, 5.4595, 8.3112)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1851 #187B42
analogous
#74187B #7B1851 #7B181F
triadic
#7B1851 #517B18 #18517B
tetradic
#7B1851 #7B7418 #187B42 #181F7B
square
#7B1851 #7B7418 #187B42 #181F7B
split-complementary
#7B1851 #1F7B18 #187B74
monochromatic
#1A0511 #480E2F #7B1851 #AE2273 #D83693

Accessibility & contrast

On white

10.04
#7B1851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1851
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1851#FFFFFF#000000##FFFFFF
##7B18511.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3752
Deuteranopia (green-blind)
#46484F
Tritanopia (blue-blind)
#851032
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1851;
/* rgb */ color: rgb(123, 24, 81);
/* oklch */ color: oklch(39.8% 0.143 350.6);
Tailwind
colors: {
  custom: {
    50: '#a56181',
    500: '#7b1851',
    950: '#000000',
  },
}
SCSS
$custom: #7b1851;
$custom-light: #a56181;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1851",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 81
  },
  "hsl": {
    "h": 325.455,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39836,
    "c": 0.14347,
    "h": 350.6
  },
  "luminance": 0.05458
}

Semantic roles & 50–950 ramp

primary
#7B1851
secondary
#3FB06F
accent
#EA873E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7B1851

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

Preview Lab → · Contrast checker → · Palette generator →

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