#7B276A#7B276A

#7B276A is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.141 H 336.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#7B276A
RGBrgb(123, 39, 106)
HSLhsl(312, 52%, 32%)
HSVhsv(312, 68%, 48%)
CMYKcmyk(0%, 68.3%, 13.8%, 51.8%)
CIE-LABlab(31.12, 44.15, -20.47)
CIE-LCHlch(31.12, 48.67, 335.13°)
OKLaboklab(42.47% 0.1296 -0.0556)
OKLCHoklch(42.47% 0.141 336.8)
XYZxyz(11.4956, 6.7036, 14.3214)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B276A #277B38
analogous
#62277B #7B276A #7B2740
triadic
#7B276A #6A7B27 #276A7B
tetradic
#7B276A #7B6227 #277B38 #27407B
square
#7B276A #7B6227 #277B38 #27407B
split-complementary
#7B276A #407B27 #277B62
monochromatic
#1E0A1A #4D1842 #7B276A #A93692 #C954B1

Accessibility & contrast

On white

8.97
#7B276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B276A
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B276A#FFFFFF#000000##FFFFFF
##7B276A1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29416C
Deuteranopia (green-blind)
#444E68
Tritanopia (blue-blind)
#812B45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b276a;
/* rgb */ color: rgb(123, 39, 106);
/* oklch */ color: oklch(42.5% 0.141 336.8);
Tailwind
colors: {
  custom: {
    50: '#a46895',
    500: '#7b276a',
    950: '#000000',
  },
}
SCSS
$custom: #7b276a;
$custom-light: #a46895;
$custom-dark: #000000;
JSON
{
  "hex": "#7b276a",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 312.143,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42472,
    "c": 0.14097,
    "h": 336.8
  },
  "luminance": 0.06703
}

Semantic roles & 50–950 ramp

primary
#7B276A
secondary
#51AD63
accent
#DB694C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B276A

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

Preview Lab → · Contrast checker → · Palette generator →

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