#7B2D5E#7B2D5E

#7B2D5E is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.6% C 0.123 H 344.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7B2D5E
RGBrgb(123, 45, 94)
HSLhsl(322, 46%, 33%)
HSVhsv(322, 63%, 48%)
CMYKcmyk(0%, 63.4%, 23.6%, 51.8%)
CIE-LABlab(31.57, 39.55, -12.06)
CIE-LCHlch(31.57, 41.35, 343.04°)
OKLaboklab(42.62% 0.1189 -0.032)
OKLCHoklch(42.62% 0.123 344.9)
XYZxyz(11.1275, 6.8969, 11.3327)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2D5E #2D7B4A
analogous
#712D7B #7B2D5E #7B2D37
triadic
#7B2D5E #5E7B2D #2D5E7B
tetradic
#7B2D5E #7B712D #2D7B4A #2D377B
square
#7B2D5E #7B712D #2D7B4A #2D377B
split-complementary
#7B2D5E #377B2D #2D7B71
monochromatic
#210C1A #4E1D3C #7B2D5E #A83D80 #C45E9E

Accessibility & contrast

On white

8.83
#7B2D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7B2D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2D5E
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2D5E#FFFFFF#000000##FFFFFF
##7B2D5E1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344260
Deuteranopia (green-blind)
#4B4F5C
Tritanopia (blue-blind)
#832C41
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b2d5e;
/* rgb */ color: rgb(123, 45, 94);
/* oklch */ color: oklch(42.6% 0.123 344.9);
Tailwind
colors: {
  custom: {
    50: '#a46b8b',
    500: '#7b2d5e',
    950: '#000000',
  },
}
SCSS
$custom: #7b2d5e;
$custom-light: #a46b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2d5e",
  "rgb": {
    "r": 123,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 322.308,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42624,
    "c": 0.12308,
    "h": 344.9
  },
  "luminance": 0.06896
}

Semantic roles & 50–950 ramp

primary
#7B2D5E
secondary
#59AB77
accent
#D68352
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F070C
muted
#7F7A7D

Preview Lab

Preview with #7B2D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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