#7B1B3E#7B1B3E

#7B1B3E is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.132 H 3.8°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#7B1B3E
RGBrgb(123, 27, 62)
HSLhsl(338, 64%, 29%)
HSVhsv(338, 78%, 48%)
CMYKcmyk(0%, 78%, 49.6%, 51.8%)
CIE-LABlab(27.69, 43.14, 3.28)
CIE-LCHlch(27.69, 43.27, 4.35°)
OKLaboklab(39.39% 0.1321 0.0088)
OKLCHoklch(39.39% 0.132 3.8)
XYZxyz(9.4306, 5.3439, 5.0914)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B3E #1B7B58
analogous
#7B1B6E #7B1B3E #7B281B
triadic
#7B1B3E #3E7B1B #1B3E7B
tetradic
#7B1B3E #6E7B1B #1B7B58 #281B7B
square
#7B1B3E #6E7B1B #1B7B58 #281B7B
split-complementary
#7B1B3E #1B7B28 #1B6E7B
monochromatic
#19060D #491025 #7B1B3E #AD2657 #D43C74

Accessibility & contrast

On white

10.15
#7B1B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7B1B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1B3E
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B3E#FFFFFF#000000##FFFFFF
##7B1B3E1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32353F
Deuteranopia (green-blind)
#4B483C
Tritanopia (blue-blind)
#86062A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1b3e;
/* rgb */ color: rgb(123, 27, 62);
/* oklch */ color: oklch(39.4% 0.132 3.8);
Tailwind
colors: {
  custom: {
    50: '#a66173',
    500: '#7b1b3e',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b3e;
$custom-light: #a66173;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b3e",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 62
  },
  "hsl": {
    "h": 338.125,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39389,
    "c": 0.13239,
    "h": 3.8
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#7B1B3E
secondary
#43AF88
accent
#E7AA41
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7B1B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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