#7B2146#7B2146

#7B2146 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.128 H 359.6°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#7B2146
RGBrgb(123, 33, 70)
HSLhsl(335, 58%, 31%)
HSVhsv(335, 73%, 48%)
CMYKcmyk(0%, 73.2%, 43.1%, 51.8%)
CIE-LABlab(28.75, 41.71, -0.54)
CIE-LCHlch(28.75, 41.71, 359.26°)
OKLaboklab(40.25% 0.1279 -0.0009)
OKLCHoklch(40.25% 0.128 359.6)
XYZxyz(9.8184, 5.7421, 6.3845)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2146 #217B56
analogous
#7B2173 #7B2146 #7B2921
triadic
#7B2146 #467B21 #21467B
tetradic
#7B2146 #737B21 #217B56 #29217B
square
#7B2146 #737B21 #217B56 #29217B
split-complementary
#7B2146 #217B29 #21737B
monochromatic
#1A070F #4B142B #7B2146 #AB2E61 #CE487F

Accessibility & contrast

On white

9.78
#7B2146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7B2146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2146
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2146#FFFFFF#000000##FFFFFF
##7B21461.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333947
Deuteranopia (green-blind)
#4C4A44
Tritanopia (blue-blind)
#861530
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b2146;
/* rgb */ color: rgb(123, 33, 70);
/* oklch */ color: oklch(40.3% 0.128 359.6);
Tailwind
colors: {
  custom: {
    50: '#a56479',
    500: '#7b2146',
    950: '#000000',
  },
}
SCSS
$custom: #7b2146;
$custom-light: #a56479;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2146",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 335.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40252,
    "c": 0.12785,
    "h": 359.6
  },
  "luminance": 0.05741
}

Semantic roles & 50–950 ramp

primary
#7B2146
secondary
#4AAE85
accent
#E1A247
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B2146

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

Preview Lab → · Contrast checker → · Palette generator →

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