#7B1331#7B1331

#7B1331 is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.4% C 0.137 H 10.8°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#7B1331
RGBrgb(123, 19, 49)
HSLhsl(343, 73%, 28%)
HSVhsv(343, 85%, 48%)
CMYKcmyk(0%, 84.6%, 60.2%, 51.8%)
CIE-LABlab(26.45, 44.57, 10.33)
CIE-LCHlch(26.45, 45.75, 13.05°)
OKLaboklab(38.36% 0.135 0.0258)
OKLCHoklch(38.36% 0.137 10.8)
XYZxyz(8.9565, 4.8998, 3.3793)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1331 #137B5D
analogous
#7B1365 #7B1331 #7B2913
triadic
#7B1331 #317B13 #13317B
tetradic
#7B1331 #657B13 #137B5D #29137B
square
#7B1331 #657B13 #137B5D #29137B
split-complementary
#7B1331 #137B29 #13657B
monochromatic
#1B040B #460B1C #7B1331 #B01B46 #DE2A5E

Accessibility & contrast

On white

10.61
#7B1331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7B1331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1331
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1331#FFFFFF#000000##FFFFFF
##7B13311.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313131
Deuteranopia (green-blind)
#4C462E
Tritanopia (blue-blind)
#870020
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1331;
/* rgb */ color: rgb(123, 19, 49);
/* oklch */ color: oklch(38.4% 0.137 10.8);
Tailwind
colors: {
  custom: {
    50: '#a75e68',
    500: '#7b1331',
    950: '#000000',
  },
}
SCSS
$custom: #7b1331;
$custom-light: #a75e68;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1331",
  "rgb": {
    "r": 123,
    "g": 19,
    "b": 49
  },
  "hsl": {
    "h": 342.692,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38357,
    "c": 0.13742,
    "h": 10.8
  },
  "luminance": 0.04898
}

Semantic roles & 50–950 ramp

primary
#7B1331
secondary
#39B18E
accent
#F0BB38
background
#FBF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7B1331

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

Preview Lab → · Contrast checker → · Palette generator →

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