#7B1863#7B1863

#7B1863 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.154 H 340.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#7B1863
RGBrgb(123, 24, 99)
HSLhsl(315, 67%, 29%)
HSVhsv(315, 80%, 48%)
CMYKcmyk(0%, 80.5%, 19.5%, 51.8%)
CIE-LABlab(28.81, 48.62, -19.54)
CIE-LCHlch(28.81, 52.40, 338.10°)
OKLaboklab(40.69% 0.1452 -0.0528)
OKLCHoklch(40.69% 0.155 340)
XYZxyz(10.7475, 5.7662, 12.3489)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1863 #187B30
analogous
#62187B #7B1863 #7B1832
triadic
#7B1863 #637B18 #18637B
tetradic
#7B1863 #7B6218 #187B30 #18327B
square
#7B1863 #7B6218 #187B30 #18327B
split-complementary
#7B1863 #327B18 #187B62
monochromatic
#1A0515 #480E3A #7B1863 #AE228C #D836B0

Accessibility & contrast

On white

9.75
#7B1863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7B1863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1863
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1863#FFFFFF#000000##FFFFFF
##7B18631.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203A65
Deuteranopia (green-blind)
#414961
Tritanopia (blue-blind)
#831C3C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1863;
/* rgb */ color: rgb(123, 24, 99);
/* oklch */ color: oklch(40.7% 0.154 340.0);
Tailwind
colors: {
  custom: {
    50: '#a5618f',
    500: '#7b1863',
    950: '#000000',
  },
}
SCSS
$custom: #7b1863;
$custom-light: #a5618f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1863",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 314.545,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40687,
    "c": 0.1545,
    "h": 340
  },
  "luminance": 0.05765
}

Semantic roles & 50–950 ramp

primary
#7B1863
secondary
#3FB05A
accent
#EA673E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B1863

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

Preview Lab → · Contrast checker → · Palette generator →

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