#7B2155#7B2155

#7B2155 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.8% C 0.135 H 349.2°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7B2155
RGBrgb(123, 33, 85)
HSLhsl(325, 58%, 31%)
HSVhsv(325, 73%, 48%)
CMYKcmyk(0%, 73.2%, 30.9%, 51.8%)
CIE-LABlab(29.30, 43.52, -9.65)
CIE-LCHlch(29.30, 44.58, 347.50°)
OKLaboklab(40.84% 0.1326 -0.0253)
OKLCHoklch(40.84% 0.135 349.2)
XYZxyz(10.3524, 5.9557, 9.1969)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2155 #217B47
analogous
#74217B #7B2155 #7B2128
triadic
#7B2155 #557B21 #21557B
tetradic
#7B2155 #7B7421 #217B47 #21287B
square
#7B2155 #7B7421 #217B47 #21287B
split-complementary
#7B2155 #287B21 #217B74
monochromatic
#1A0712 #4B1434 #7B2155 #AB2E76 #CE4896

Accessibility & contrast

On white

9.58
#7B2155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2155
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2155#FFFFFF#000000##FFFFFF
##7B21551.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b2155;
/* rgb */ color: rgb(123, 33, 85);
/* oklch */ color: oklch(40.8% 0.135 349.2);
Tailwind
colors: {
  custom: {
    50: '#a56485',
    500: '#7b2155',
    950: '#000000',
  },
}
SCSS
$custom: #7b2155;
$custom-light: #a56485;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2155",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 325.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40835,
    "c": 0.13499,
    "h": 349.2
  },
  "luminance": 0.05955
}

Semantic roles & 50–950 ramp

primary
#7B2155
secondary
#4AAE74
accent
#E18847
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B2155

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

Preview Lab → · Contrast checker → · Palette generator →

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