#7B2139#7B2139

#7B2139 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 39.8% C 0.124 H 9.0°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#7B2139
RGBrgb(123, 33, 57)
HSLhsl(344, 58%, 31%)
HSVhsv(344, 73%, 48%)
CMYKcmyk(0%, 73.2%, 53.7%, 51.8%)
CIE-LABlab(28.37, 40.41, 7.59)
CIE-LCHlch(28.37, 41.11, 10.64°)
OKLaboklab(39.84% 0.1228 0.0195)
OKLCHoklch(39.84% 0.124 9)
XYZxyz(9.4516, 5.5953, 4.4524)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2139 #217B63
analogous
#7B2166 #7B2139 #7B3621
triadic
#7B2139 #397B21 #21397B
tetradic
#7B2139 #667B21 #217B63 #36217B
square
#7B2139 #667B21 #217B63 #36217B
split-complementary
#7B2139 #217B36 #21667B
monochromatic
#1A070C #4B1423 #7B2139 #AB2E4F #CE486C

Accessibility & contrast

On white

9.91
#7B2139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7B2139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2139
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2139#FFFFFF#000000##FFFFFF
##7B21391.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373739
Deuteranopia (green-blind)
#4E4A37
Tritanopia (blue-blind)
#860F2B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b2139;
/* rgb */ color: rgb(123, 33, 57);
/* oklch */ color: oklch(39.8% 0.124 9.0);
Tailwind
colors: {
  custom: {
    50: '#a6646f',
    500: '#7b2139',
    950: '#000000',
  },
}
SCSS
$custom: #7b2139;
$custom-light: #a6646f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2139",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 57
  },
  "hsl": {
    "h": 344,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39842,
    "c": 0.12432,
    "h": 9
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#7B2139
secondary
#4AAE93
accent
#E1B847
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7B2139

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

Preview Lab → · Contrast checker → · Palette generator →

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