#7B2866#7B2866

#7B2866 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.4% C 0.136 H 339.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#7B2866
RGBrgb(123, 40, 102)
HSLhsl(315, 51%, 32%)
HSVhsv(315, 67%, 48%)
CMYKcmyk(0%, 67.5%, 17.1%, 51.8%)
CIE-LABlab(31.09, 43.08, -17.95)
CIE-LCHlch(31.09, 46.67, 337.37°)
OKLaboklab(42.38% 0.1276 -0.0484)
OKLCHoklch(42.38% 0.136 339.2)
XYZxyz(11.3257, 6.6889, 13.2624)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2866 #287B3D
analogous
#67287B #7B2866 #7B283D
triadic
#7B2866 #667B28 #28667B
tetradic
#7B2866 #7B6728 #287B3D #283D7B
square
#7B2866 #7B6728 #287B3D #283D7B
split-complementary
#7B2866 #3D7B28 #287B67
monochromatic
#1F0A19 #4D1940 #7B2866 #A9378C #C856AB

Accessibility & contrast

On white

8.98
#7B2866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7B2866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2866
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2866#FFFFFF#000000##FFFFFF
##7B28661.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4168
Deuteranopia (green-blind)
#464E64
Tritanopia (blue-blind)
#822B43
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b2866;
/* rgb */ color: rgb(123, 40, 102);
/* oklch */ color: oklch(42.4% 0.136 339.2);
Tailwind
colors: {
  custom: {
    50: '#a46891',
    500: '#7b2866',
    950: '#000000',
  },
}
SCSS
$custom: #7b2866;
$custom-light: #a46891;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2866",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 315.181,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42384,
    "c": 0.13647,
    "h": 339.2
  },
  "luminance": 0.06688
}

Semantic roles & 50–950 ramp

primary
#7B2866
secondary
#52AD69
accent
#DA714D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070D
muted
#7F7A7D

Preview Lab

Preview with #7B2866

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

Preview Lab → · Contrast checker → · Palette generator →

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