#7B1B47#7B1B47

#7B1B47 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.135 H 357.6°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#7B1B47
RGBrgb(123, 27, 71)
HSLhsl(333, 64%, 29%)
HSVhsv(333, 78%, 48%)
CMYKcmyk(0%, 78%, 42.3%, 51.8%)
CIE-LABlab(27.98, 44.06, -2.34)
CIE-LCHlch(27.98, 44.13, 356.96°)
OKLaboklab(39.7% 0.1354 -0.0056)
OKLCHoklch(39.7% 0.135 357.6)
XYZxyz(9.6983, 5.4510, 6.5014)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B47 #1B7B4F
analogous
#7B1B77 #7B1B47 #7B1F1B
triadic
#7B1B47 #477B1B #1B477B
tetradic
#7B1B47 #777B1B #1B7B4F #1F1B7B
square
#7B1B47 #777B1B #1B7B4F #1F1B7B
split-complementary
#7B1B47 #1B7B1F #1B777B
monochromatic
#19060E #49102A #7B1B47 #AD2664 #D43C82

Accessibility & contrast

On white

10.05
#7B1B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1B47
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B47#FFFFFF#000000##FFFFFF
##7B1B471.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3748
Deuteranopia (green-blind)
#4A4945
Tritanopia (blue-blind)
#860D2E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1b47;
/* rgb */ color: rgb(123, 27, 71);
/* oklch */ color: oklch(39.7% 0.135 357.6);
Tailwind
colors: {
  custom: {
    50: '#a6617a',
    500: '#7b1b47',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b47;
$custom-light: #a6617a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b47",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 332.5,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39697,
    "c": 0.13548,
    "h": 357.6
  },
  "luminance": 0.0545
}

Semantic roles & 50–950 ramp

primary
#7B1B47
secondary
#43AF7D
accent
#E79B41
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7B1B47

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

Preview Lab → · Contrast checker → · Palette generator →

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