#7B2149#7B2149

#7B2149 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.129 H 357.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7B2149
RGBrgb(123, 33, 73)
HSLhsl(333, 58%, 31%)
HSVhsv(333, 73%, 48%)
CMYKcmyk(0%, 73.2%, 40.7%, 51.8%)
CIE-LABlab(28.85, 42.04, -2.39)
CIE-LCHlch(28.85, 42.11, 356.75°)
OKLaboklab(40.36% 0.1289 -0.0057)
OKLCHoklch(40.36% 0.129 357.5)
XYZxyz(9.9155, 5.7809, 6.8957)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2149 #217B53
analogous
#7B2176 #7B2149 #7B2621
triadic
#7B2149 #497B21 #21497B
tetradic
#7B2149 #767B21 #217B53 #26217B
square
#7B2149 #767B21 #217B53 #26217B
split-complementary
#7B2149 #217B26 #21767B
monochromatic
#1A0710 #4B142C #7B2149 #AB2E66 #CE4884

Accessibility & contrast

On white

9.74
#7B2149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7B2149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2149
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2149#FFFFFF#000000##FFFFFF
##7B21491.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33394A
Deuteranopia (green-blind)
#4B4A47
Tritanopia (blue-blind)
#851732
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b2149;
/* rgb */ color: rgb(123, 33, 73);
/* oklch */ color: oklch(40.4% 0.129 357.5);
Tailwind
colors: {
  custom: {
    50: '#a5647b',
    500: '#7b2149',
    950: '#000000',
  },
}
SCSS
$custom: #7b2149;
$custom-light: #a5647b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2149",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 73
  },
  "hsl": {
    "h": 333.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40359,
    "c": 0.12904,
    "h": 357.5
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#7B2149
secondary
#4AAE81
accent
#E19C47
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B2149

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

Preview Lab → · Contrast checker → · Palette generator →

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