#7B1336#7B1336

#7B1336 is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.5% C 0.138 H 7.6°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#7B1336
RGBrgb(123, 19, 54)
HSLhsl(340, 73%, 28%)
HSVhsv(340, 85%, 48%)
CMYKcmyk(0%, 84.6%, 56.1%, 51.8%)
CIE-LABlab(26.58, 44.95, 7.11)
CIE-LCHlch(26.58, 45.51, 8.99°)
OKLaboklab(38.49% 0.137 0.0182)
OKLCHoklch(38.49% 0.138 7.6)
XYZxyz(9.0680, 4.9444, 3.9662)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1336 #137B58
analogous
#7B136A #7B1336 #7B2413
triadic
#7B1336 #367B13 #13367B
tetradic
#7B1336 #6A7B13 #137B58 #24137B
square
#7B1336 #6A7B13 #137B58 #24137B
split-complementary
#7B1336 #137B24 #136A7B
monochromatic
#1B040C #460B1F #7B1336 #B01B4D #DE2A67

Accessibility & contrast

On white

10.56
#7B1336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7B1336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1336
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1336#FFFFFF#000000##FFFFFF
##7B13361.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303237
Deuteranopia (green-blind)
#4B4633
Tritanopia (blue-blind)
#870023
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1336;
/* rgb */ color: rgb(123, 19, 54);
/* oklch */ color: oklch(38.5% 0.138 7.6);
Tailwind
colors: {
  custom: {
    50: '#a75e6c',
    500: '#7b1336',
    950: '#000000',
  },
}
SCSS
$custom: #7b1336;
$custom-light: #a75e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1336",
  "rgb": {
    "r": 123,
    "g": 19,
    "b": 54
  },
  "hsl": {
    "h": 339.808,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38493,
    "c": 0.13824,
    "h": 7.6
  },
  "luminance": 0.04943
}

Semantic roles & 50–950 ramp

primary
#7B1336
secondary
#39B188
accent
#F0B238
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7B1336

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

Preview Lab → · Contrast checker → · Palette generator →

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