#7B1858#7B1858

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

Color values

HEX#7B1858
RGBrgb(123, 24, 88)
HSLhsl(321, 67%, 29%)
HSVhsv(321, 80%, 48%)
CMYKcmyk(0%, 80.5%, 28.5%, 51.8%)
CIE-LABlab(28.30, 47.10, -13.14)
CIE-LCHlch(28.30, 48.90, 344.41°)
OKLaboklab(40.15% 0.1432 -0.0348)
OKLCHoklch(40.15% 0.147 346.3)
XYZxyz(10.2569, 5.5700, 9.7656)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1858 #187B3B
analogous
#6D187B #7B1858 #7B1827
triadic
#7B1858 #587B18 #18587B
tetradic
#7B1858 #7B6D18 #187B3B #18277B
square
#7B1858 #7B6D18 #187B3B #18277B
split-complementary
#7B1858 #277B18 #187B6D
monochromatic
#1A0512 #480E33 #7B1858 #AE227D #D8369E

Accessibility & contrast

On white

9.93
#7B1858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1858
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1858#FFFFFF#000000##FFFFFF
##7B18581.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26385A
Deuteranopia (green-blind)
#444956
Tritanopia (blue-blind)
#841536
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1858;
/* rgb */ color: rgb(123, 24, 88);
/* oklch */ color: oklch(40.1% 0.147 346.3);
Tailwind
colors: {
  custom: {
    50: '#a56187',
    500: '#7b1858',
    950: '#000000',
  },
}
SCSS
$custom: #7b1858;
$custom-light: #a56187;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1858",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 88
  },
  "hsl": {
    "h": 321.212,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40147,
    "c": 0.14742,
    "h": 346.3
  },
  "luminance": 0.05569
}

Semantic roles & 50–950 ramp

primary
#7B1858
secondary
#3FB067
accent
#EA7B3E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B1858

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

Preview Lab → · Contrast checker → · Palette generator →

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