#7B1867#7B1867

#7B1867 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.9% C 0.157 H 337.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7B1867
RGBrgb(123, 24, 103)
HSLhsl(312, 67%, 29%)
HSVhsv(312, 80%, 48%)
CMYKcmyk(0%, 80.5%, 16.3%, 51.8%)
CIE-LABlab(29.02, 49.20, -21.82)
CIE-LCHlch(29.02, 53.83, 336.09°)
OKLaboklab(40.9% 0.1457 -0.0593)
OKLCHoklch(40.9% 0.157 337.8)
XYZxyz(10.9434, 5.8446, 13.3811)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1867 #187B2C
analogous
#5E187B #7B1867 #7B1836
triadic
#7B1867 #677B18 #18677B
tetradic
#7B1867 #7B5E18 #187B2C #18367B
square
#7B1867 #7B5E18 #187B2C #18367B
split-complementary
#7B1867 #367B18 #187B5E
monochromatic
#1A0515 #480E3C #7B1867 #AE2292 #D836B7

Accessibility & contrast

On white

9.68
#7B1867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7B1867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1867
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1867#FFFFFF#000000##FFFFFF
##7B18671.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3B69
Deuteranopia (green-blind)
#3F4A65
Tritanopia (blue-blind)
#821E3E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1867;
/* rgb */ color: rgb(123, 24, 103);
/* oklch */ color: oklch(40.9% 0.157 337.8);
Tailwind
colors: {
  custom: {
    50: '#a56192',
    500: '#7b1867',
    950: '#000000',
  },
}
SCSS
$custom: #7b1867;
$custom-light: #a56192;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1867",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 312.121,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40898,
    "c": 0.15728,
    "h": 337.8
  },
  "luminance": 0.05843
}

Semantic roles & 50–950 ramp

primary
#7B1867
secondary
#3FB056
accent
#EA603E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B1867

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

Preview Lab → · Contrast checker → · Palette generator →

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