#7B1857#7B1857

#7B1857 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.147 H 346.9°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#7B1857
RGBrgb(123, 24, 87)
HSLhsl(322, 67%, 29%)
HSVhsv(322, 80%, 48%)
CMYKcmyk(0%, 80.5%, 29.3%, 51.8%)
CIE-LABlab(28.26, 46.97, -12.55)
CIE-LCHlch(28.26, 48.61, 345.04°)
OKLaboklab(40.1% 0.143 -0.0332)
OKLCHoklch(40.1% 0.147 346.9)
XYZxyz(10.2158, 5.5535, 9.5489)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1857 #187B3C
analogous
#6E187B #7B1857 #7B1826
triadic
#7B1857 #577B18 #18577B
tetradic
#7B1857 #7B6E18 #187B3C #18267B
square
#7B1857 #7B6E18 #187B3C #18267B
split-complementary
#7B1857 #267B18 #187B6E
monochromatic
#1A0512 #480E33 #7B1857 #AE227B #D8369D

Accessibility & contrast

On white

9.95
#7B1857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1857
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1857#FFFFFF#000000##FFFFFF
##7B18571.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273859
Deuteranopia (green-blind)
#454955
Tritanopia (blue-blind)
#841435
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1857;
/* rgb */ color: rgb(123, 24, 87);
/* oklch */ color: oklch(40.1% 0.147 346.9);
Tailwind
colors: {
  custom: {
    50: '#a56186',
    500: '#7b1857',
    950: '#000000',
  },
}
SCSS
$custom: #7b1857;
$custom-light: #a56186;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1857",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 87
  },
  "hsl": {
    "h": 321.818,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40101,
    "c": 0.14683,
    "h": 346.9
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#7B1857
secondary
#3FB068
accent
#EA7C3E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B1857

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

Preview Lab → · Contrast checker → · Palette generator →

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