#7B276D#7B276D

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

Color values

HEX#7B276D
RGBrgb(123, 39, 109)
HSLhsl(310, 52%, 32%)
HSVhsv(310, 68%, 48%)
CMYKcmyk(0%, 68.3%, 11.4%, 51.8%)
CIE-LABlab(31.27, 44.65, -22.15)
CIE-LCHlch(31.27, 49.84, 333.61°)
OKLaboklab(42.63% 0.13 -0.0604)
OKLCHoklch(42.63% 0.143 335.1)
XYZxyz(11.6543, 6.7671, 15.1574)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B276D #277B35
analogous
#5F277B #7B276D #7B2743
triadic
#7B276D #6D7B27 #276D7B
tetradic
#7B276D #7B5F27 #277B35 #27437B
square
#7B276D #7B5F27 #277B35 #27437B
split-complementary
#7B276D #437B27 #277B5F
monochromatic
#1E0A1B #4D1844 #7B276D #A93696 #C954B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B276D#FFFFFF#000000##FFFFFF
##7B276D1.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)
#27426F
Deuteranopia (green-blind)
#434E6B
Tritanopia (blue-blind)
#812D46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b276d;
/* rgb */ color: rgb(123, 39, 109);
/* oklch */ color: oklch(42.6% 0.143 335.1);
Tailwind
colors: {
  custom: {
    50: '#a46897',
    500: '#7b276d',
    950: '#000000',
  },
}
SCSS
$custom: #7b276d;
$custom-light: #a46897;
$custom-dark: #000000;
JSON
{
  "hex": "#7b276d",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 310,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42628,
    "c": 0.14332,
    "h": 335.1
  },
  "luminance": 0.06766
}

Semantic roles & 50–950 ramp

primary
#7B276D
secondary
#51AD60
accent
#DB644C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7B276D

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

Preview Lab → · Contrast checker → · Palette generator →

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