#7B2156#7B2156

#7B2156 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.136 H 348.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#7B2156
RGBrgb(123, 33, 86)
HSLhsl(325, 58%, 31%)
HSVhsv(325, 73%, 48%)
CMYKcmyk(0%, 73.2%, 30.1%, 51.8%)
CIE-LABlab(29.34, 43.66, -10.24)
CIE-LCHlch(29.34, 44.84, 346.80°)
OKLaboklab(40.88% 0.1329 -0.0269)
OKLCHoklch(40.88% 0.136 348.6)
XYZxyz(10.3924, 5.9717, 9.4076)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2156 #217B46
analogous
#73217B #7B2156 #7B2129
triadic
#7B2156 #567B21 #21567B
tetradic
#7B2156 #7B7321 #217B46 #21297B
square
#7B2156 #7B7321 #217B46 #21297B
split-complementary
#7B2156 #297B21 #217B73
monochromatic
#1A0713 #4B1434 #7B2156 #AB2E78 #CE4897

Accessibility & contrast

On white

9.57
#7B2156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7B2156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2156
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2156#FFFFFF#000000##FFFFFF
##7B21561.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b2156;
/* rgb */ color: rgb(123, 33, 86);
/* oklch */ color: oklch(40.9% 0.136 348.6);
Tailwind
colors: {
  custom: {
    50: '#a56485',
    500: '#7b2156',
    950: '#000000',
  },
}
SCSS
$custom: #7b2156;
$custom-light: #a56485;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2156",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 324.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40878,
    "c": 0.13557,
    "h": 348.6
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

primary
#7B2156
secondary
#4AAE73
accent
#E18647
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B2156

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

Preview Lab → · Contrast checker → · Palette generator →

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