#7B2952#7B2952

#7B2952 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.6% C 0.122 H 352.8°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#7B2952
RGBrgb(123, 41, 82)
HSLhsl(330, 50%, 32%)
HSVhsv(330, 67%, 48%)
CMYKcmyk(0%, 66.7%, 33.3%, 51.8%)
CIE-LABlab(30.42, 39.72, -6.00)
CIE-LCHlch(30.42, 40.17, 351.41°)
OKLaboklab(41.62% 0.1211 -0.0154)
OKLCHoklch(41.62% 0.122 352.8)
XYZxyz(10.4848, 6.4072, 8.6655)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2952 #297B52
analogous
#7B297B #7B2952 #7B2929
triadic
#7B2952 #527B29 #29527B
tetradic
#7B2952 #7B7B29 #297B52 #29297B
square
#7B2952 #7B7B29 #297B52 #29297B
split-complementary
#7B2952 #297B29 #297B7B
monochromatic
#1F0A15 #4D1A33 #7B2952 #A93871 #C7578F

Accessibility & contrast

On white

9.21
#7B2952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7B2952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2952
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2952#FFFFFF#000000##FFFFFF
##7B29521.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353E53
Deuteranopia (green-blind)
#4C4D50
Tritanopia (blue-blind)
#84243A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b2952;
/* rgb */ color: rgb(123, 41, 82);
/* oklch */ color: oklch(41.6% 0.122 352.8);
Tailwind
colors: {
  custom: {
    50: '#a46882',
    500: '#7b2952',
    950: '#000000',
  },
}
SCSS
$custom: #7b2952;
$custom-light: #a46882;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2952",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 82
  },
  "hsl": {
    "h": 330,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41618,
    "c": 0.12208,
    "h": 352.8
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

primary
#7B2952
secondary
#53AC80
accent
#DA944E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B2952

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

Preview Lab → · Contrast checker → · Palette generator →

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