#7B1B48#7B1B48

#7B1B48 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.7% C 0.136 H 357.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#7B1B48
RGBrgb(123, 27, 72)
HSLhsl(332, 64%, 29%)
HSVhsv(332, 78%, 48%)
CMYKcmyk(0%, 78%, 41.5%, 51.8%)
CIE-LABlab(28.02, 44.17, -2.96)
CIE-LCHlch(28.02, 44.27, 356.17°)
OKLaboklab(39.73% 0.1357 -0.0072)
OKLCHoklch(39.73% 0.136 357)
XYZxyz(9.7307, 5.4639, 6.6719)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B48 #1B7B4E
analogous
#7B1B78 #7B1B48 #7B1E1B
triadic
#7B1B48 #487B1B #1B487B
tetradic
#7B1B48 #787B1B #1B7B4E #1E1B7B
square
#7B1B48 #787B1B #1B7B4E #1E1B7B
split-complementary
#7B1B48 #1B7B1E #1B787B
monochromatic
#19060F #49102B #7B1B48 #AD2665 #D43C83

Accessibility & contrast

On white

10.04
#7B1B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7B1B48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1B48
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B48#FFFFFF#000000##FFFFFF
##7B1B481.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3749
Deuteranopia (green-blind)
#494946
Tritanopia (blue-blind)
#850E2F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1b48;
/* rgb */ color: rgb(123, 27, 72);
/* oklch */ color: oklch(39.7% 0.136 357.0);
Tailwind
colors: {
  custom: {
    50: '#a6617a',
    500: '#7b1b48',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b48;
$custom-light: #a6617a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b48",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 331.875,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39734,
    "c": 0.13588,
    "h": 357
  },
  "luminance": 0.05463
}

Semantic roles & 50–950 ramp

primary
#7B1B48
secondary
#43AF7C
accent
#E79941
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7B1B48

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

Preview Lab → · Contrast checker → · Palette generator →

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