#7B266B#7B266B

#7B266B is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.4% C 0.143 H 336.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7B266B
RGBrgb(123, 38, 107)
HSLhsl(311, 53%, 32%)
HSVhsv(311, 69%, 48%)
CMYKcmyk(0%, 69.1%, 13%, 51.8%)
CIE-LABlab(31.02, 44.74, -21.27)
CIE-LCHlch(31.02, 49.54, 334.58°)
OKLaboklab(42.41% 0.131 -0.0578)
OKLCHoklch(42.41% 0.143 336.2)
XYZxyz(11.5155, 6.6597, 14.5860)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B266B #267B36
analogous
#61267B #7B266B #7B2641
triadic
#7B266B #6B7B26 #266B7B
tetradic
#7B266B #7B6126 #267B36 #26417B
square
#7B266B #7B6126 #267B36 #26417B
split-complementary
#7B266B #417B26 #267B61
monochromatic
#1D091A #4C1842 #7B266B #AA3494 #CA52B3

Accessibility & contrast

On white

9.01
#7B266B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B266B
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B266B#FFFFFF#000000##FFFFFF
##7B266B1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416D
Deuteranopia (green-blind)
#434E69
Tritanopia (blue-blind)
#812B45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b266b;
/* rgb */ color: rgb(123, 38, 107);
/* oklch */ color: oklch(42.4% 0.143 336.2);
Tailwind
colors: {
  custom: {
    50: '#a46895',
    500: '#7b266b',
    950: '#000000',
  },
}
SCSS
$custom: #7b266b;
$custom-light: #a46895;
$custom-dark: #000000;
JSON
{
  "hex": "#7b266b",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 311.294,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42413,
    "c": 0.14316,
    "h": 336.2
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#7B266B
secondary
#50AD61
accent
#DC674C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B266B

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

Preview Lab → · Contrast checker → · Palette generator →

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