#7B286A#7B286A

#7B286A is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.140 H 336.8°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7B286A
RGBrgb(123, 40, 106)
HSLhsl(312, 51%, 32%)
HSVhsv(312, 67%, 48%)
CMYKcmyk(0%, 67.5%, 13.8%, 51.8%)
CIE-LABlab(31.28, 43.72, -20.22)
CIE-LCHlch(31.28, 48.17, 335.18°)
OKLaboklab(42.59% 0.1283 -0.0549)
OKLCHoklch(42.59% 0.14 336.8)
XYZxyz(11.5289, 6.7701, 14.3324)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B286A #287B39
analogous
#63287B #7B286A #7B2841
triadic
#7B286A #6A7B28 #286A7B
tetradic
#7B286A #7B6328 #287B39 #28417B
square
#7B286A #7B6328 #287B39 #28417B
split-complementary
#7B286A #417B28 #287B63
monochromatic
#1F0A1A #4D1942 #7B286A #A93792 #C856B0

Accessibility & contrast

On white

8.92
#7B286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7B286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B286A
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B286A#FFFFFF#000000##FFFFFF
##7B286A1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A416C
Deuteranopia (green-blind)
#444E68
Tritanopia (blue-blind)
#812C45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b286a;
/* rgb */ color: rgb(123, 40, 106);
/* oklch */ color: oklch(42.6% 0.140 336.8);
Tailwind
colors: {
  custom: {
    50: '#a46995',
    500: '#7b286a',
    950: '#000000',
  },
}
SCSS
$custom: #7b286a;
$custom-light: #a46995;
$custom-dark: #000000;
JSON
{
  "hex": "#7b286a",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 312.289,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42585,
    "c": 0.13952,
    "h": 336.8
  },
  "luminance": 0.06769
}

Semantic roles & 50–950 ramp

primary
#7B286A
secondary
#52AD65
accent
#DA6A4D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #7B286A

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

Preview Lab → · Contrast checker → · Palette generator →

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