#7B2046#7B2046

#7B2046 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.1% C 0.129 H 359.4°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7B2046
RGBrgb(123, 32, 70)
HSLhsl(335, 59%, 30%)
HSVhsv(335, 74%, 48%)
CMYKcmyk(0%, 74%, 43.1%, 51.8%)
CIE-LABlab(28.61, 42.10, -0.75)
CIE-LCHlch(28.61, 42.11, 358.98°)
OKLaboklab(40.15% 0.1291 -0.0015)
OKLCHoklch(40.15% 0.129 359.4)
XYZxyz(9.7911, 5.6874, 6.3753)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2046 #207B55
analogous
#7B2073 #7B2046 #7B2720
triadic
#7B2046 #467B20 #20467B
tetradic
#7B2046 #737B20 #207B55 #27207B
square
#7B2046 #737B20 #207B55 #27207B
split-complementary
#7B2046 #207B27 #20737B
monochromatic
#1A070F #4A132A #7B2046 #AC2D62 #CF467F

Accessibility & contrast

On white

9.83
#7B2046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7B2046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2046
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2046#FFFFFF#000000##FFFFFF
##7B20461.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333847
Deuteranopia (green-blind)
#4B4A44
Tritanopia (blue-blind)
#861430
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b2046;
/* rgb */ color: rgb(123, 32, 70);
/* oklch */ color: oklch(40.1% 0.129 359.4);
Tailwind
colors: {
  custom: {
    50: '#a56379',
    500: '#7b2046',
    950: '#000000',
  },
}
SCSS
$custom: #7b2046;
$custom-light: #a56379;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2046",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 70
  },
  "hsl": {
    "h": 334.945,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40147,
    "c": 0.12912,
    "h": 359.4
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#7B2046
secondary
#49AE84
accent
#E2A146
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B2046

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

Preview Lab → · Contrast checker → · Palette generator →

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