#7B2256#7B2256

#7B2256 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.134 H 348.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#7B2256
RGBrgb(123, 34, 86)
HSLhsl(325, 57%, 31%)
HSVhsv(325, 72%, 48%)
CMYKcmyk(0%, 72.4%, 30.1%, 51.8%)
CIE-LABlab(29.48, 43.26, -10.03)
CIE-LCHlch(29.48, 44.41, 346.95°)
OKLaboklab(40.98% 0.1316 -0.0263)
OKLCHoklch(40.98% 0.134 348.7)
XYZxyz(10.4206, 6.0280, 9.4170)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2256 #227B47
analogous
#73227B #7B2256 #7B2229
triadic
#7B2256 #567B22 #22567B
tetradic
#7B2256 #7B7322 #227B47 #22297B
square
#7B2256 #7B7322 #227B47 #22297B
split-complementary
#7B2256 #297B22 #227B73
monochromatic
#1B0713 #4B1534 #7B2256 #AB2F78 #CD4A97

Accessibility & contrast

On white

9.52
#7B2256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7B2256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2256
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2256#FFFFFF#000000##FFFFFF
##7B22561.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3C57
Deuteranopia (green-blind)
#484B54
Tritanopia (blue-blind)
#841E39
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b2256;
/* rgb */ color: rgb(123, 34, 86);
/* oklch */ color: oklch(41.0% 0.134 348.7);
Tailwind
colors: {
  custom: {
    50: '#a56585',
    500: '#7b2256',
    950: '#000000',
  },
}
SCSS
$custom: #7b2256;
$custom-light: #a56585;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2256",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 324.944,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40982,
    "c": 0.13424,
    "h": 348.7
  },
  "luminance": 0.06027
}

Semantic roles & 50–950 ramp

primary
#7B2256
secondary
#4BAE74
accent
#E08748
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B2256

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

Preview Lab → · Contrast checker → · Palette generator →

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