#7B286B#7B286B

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

Color values

HEX#7B286B
RGBrgb(123, 40, 107)
HSLhsl(312, 51%, 32%)
HSVhsv(312, 67%, 48%)
CMYKcmyk(0%, 67.5%, 13%, 51.8%)
CIE-LABlab(31.33, 43.89, -20.79)
CIE-LCHlch(31.33, 48.56, 334.65°)
OKLaboklab(42.64% 0.1284 -0.0565)
OKLCHoklch(42.64% 0.14 336.3)
XYZxyz(11.5812, 6.7910, 14.6079)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B286B #287B38
analogous
#62287B #7B286B #7B2842
triadic
#7B286B #6B7B28 #286B7B
tetradic
#7B286B #7B6228 #287B38 #28427B
square
#7B286B #7B6228 #287B38 #28427B
split-complementary
#7B286B #427B28 #287B62
monochromatic
#1F0A1B #4D1943 #7B286B #A93793 #C856B2

Accessibility & contrast

On white

8.91
#7B286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7B286B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B286B
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B286B#FFFFFF#000000##FFFFFF
##7B286B1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29426D
Deuteranopia (green-blind)
#444E69
Tritanopia (blue-blind)
#812D45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b286b;
/* rgb */ color: rgb(123, 40, 107);
/* oklch */ color: oklch(42.6% 0.140 336.3);
Tailwind
colors: {
  custom: {
    50: '#a46995',
    500: '#7b286b',
    950: '#000000',
  },
}
SCSS
$custom: #7b286b;
$custom-light: #a46995;
$custom-dark: #000000;
JSON
{
  "hex": "#7b286b",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 311.566,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42636,
    "c": 0.1403,
    "h": 336.3
  },
  "luminance": 0.0679
}

Semantic roles & 50–950 ramp

primary
#7B286B
secondary
#52AD63
accent
#DA694D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #7B286B

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

Preview Lab → · Contrast checker → · Palette generator →

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