#7B266A#7B266A

#7B266A is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.142 H 336.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#7B266A
RGBrgb(123, 38, 106)
HSLhsl(312, 53%, 32%)
HSVhsv(312, 69%, 48%)
CMYKcmyk(0%, 69.1%, 13.8%, 51.8%)
CIE-LABlab(30.97, 44.58, -20.70)
CIE-LCHlch(30.97, 49.15, 335.09°)
OKLaboklab(42.36% 0.1308 -0.0562)
OKLCHoklch(42.36% 0.142 336.7)
XYZxyz(11.4632, 6.6388, 14.3106)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B266A #267B37
analogous
#62267B #7B266A #7B2640
triadic
#7B266A #6A7B26 #266A7B
tetradic
#7B266A #7B6226 #267B37 #26407B
square
#7B266A #7B6226 #267B37 #26407B
split-complementary
#7B266A #407B26 #267B62
monochromatic
#1D0919 #4C1842 #7B266A #AA3492 #CA52B2

Accessibility & contrast

On white

9.02
#7B266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7B266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B266A
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B266A#FFFFFF#000000##FFFFFF
##7B266A1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28416C
Deuteranopia (green-blind)
#434E68
Tritanopia (blue-blind)
#822B44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b266a;
/* rgb */ color: rgb(123, 38, 106);
/* oklch */ color: oklch(42.4% 0.142 336.7);
Tailwind
colors: {
  custom: {
    50: '#a46895',
    500: '#7b266a',
    950: '#000000',
  },
}
SCSS
$custom: #7b266a;
$custom-light: #a46895;
$custom-dark: #000000;
JSON
{
  "hex": "#7b266a",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 312,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42361,
    "c": 0.14239,
    "h": 336.7
  },
  "luminance": 0.06638
}

Semantic roles & 50–950 ramp

primary
#7B266A
secondary
#50AD62
accent
#DC694C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B266A

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

Preview Lab → · Contrast checker → · Palette generator →

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