#7B256A#7B256A

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

Color values

HEX#7B256A
RGBrgb(123, 37, 106)
HSLhsl(312, 54%, 31%)
HSVhsv(312, 70%, 48%)
CMYKcmyk(0%, 69.9%, 13.8%, 51.8%)
CIE-LABlab(30.82, 44.99, -20.94)
CIE-LCHlch(30.82, 49.63, 335.05°)
OKLaboklab(42.25% 0.1321 -0.0569)
OKLCHoklch(42.25% 0.144 336.7)
XYZxyz(11.4316, 6.5757, 14.3000)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B256A #257B36
analogous
#61257B #7B256A #7B253F
triadic
#7B256A #6A7B25 #256A7B
tetradic
#7B256A #7B6125 #257B36 #253F7B
square
#7B256A #7B6125 #257B36 #253F7B
split-complementary
#7B256A #3F7B25 #257B61
monochromatic
#1D0919 #4C1741 #7B256A #AA3393 #CA50B2

Accessibility & contrast

On white

9.07
#7B256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7B256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B256A
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B256A#FFFFFF#000000##FFFFFF
##7B256A1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27406C
Deuteranopia (green-blind)
#434D68
Tritanopia (blue-blind)
#822A44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b256a;
/* rgb */ color: rgb(123, 37, 106);
/* oklch */ color: oklch(42.3% 0.144 336.7);
Tailwind
colors: {
  custom: {
    50: '#a46795',
    500: '#7b256a',
    950: '#000000',
  },
}
SCSS
$custom: #7b256a;
$custom-light: #a46795;
$custom-dark: #000000;
JSON
{
  "hex": "#7b256a",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 311.86,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42252,
    "c": 0.14378,
    "h": 336.7
  },
  "luminance": 0.06575
}

Semantic roles & 50–950 ramp

primary
#7B256A
secondary
#4FAD61
accent
#DD684B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B256A

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

Preview Lab → · Contrast checker → · Palette generator →

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