#7B256B#7B256B

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

Color values

HEX#7B256B
RGBrgb(123, 37, 107)
HSLhsl(311, 54%, 31%)
HSVhsv(311, 70%, 48%)
CMYKcmyk(0%, 69.9%, 13%, 51.8%)
CIE-LABlab(30.87, 45.16, -21.50)
CIE-LCHlch(30.87, 50.01, 334.54°)
OKLaboklab(42.3% 0.1322 -0.0585)
OKLCHoklch(42.3% 0.145 336.1)
XYZxyz(11.4839, 6.5966, 14.5755)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B256B #257B35
analogous
#60257B #7B256B #7B2540
triadic
#7B256B #6B7B25 #256B7B
tetradic
#7B256B #7B6025 #257B35 #25407B
square
#7B256B #7B6025 #257B35 #25407B
split-complementary
#7B256B #407B25 #257B60
monochromatic
#1D0919 #4C1742 #7B256B #AA3394 #CA50B4

Accessibility & contrast

On white

9.05
#7B256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B256B
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B256B#FFFFFF#000000##FFFFFF
##7B256B1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26406D
Deuteranopia (green-blind)
#424D69
Tritanopia (blue-blind)
#812A44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b256b;
/* rgb */ color: rgb(123, 37, 107);
/* oklch */ color: oklch(42.3% 0.145 336.1);
Tailwind
colors: {
  custom: {
    50: '#a46795',
    500: '#7b256b',
    950: '#000000',
  },
}
SCSS
$custom: #7b256b;
$custom-light: #a46795;
$custom-dark: #000000;
JSON
{
  "hex": "#7b256b",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 311.163,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42304,
    "c": 0.14456,
    "h": 336.1
  },
  "luminance": 0.06596
}

Semantic roles & 50–950 ramp

primary
#7B256B
secondary
#4FAD60
accent
#DD664B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B256B

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

Preview Lab → · Contrast checker → · Palette generator →

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