#7B1442#7B1442

#7B1442 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.141 H 359.8°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#7B1442
RGBrgb(123, 20, 66)
HSLhsl(333, 72%, 28%)
HSVhsv(333, 84%, 48%)
CMYKcmyk(0%, 83.7%, 46.3%, 51.8%)
CIE-LABlab(27.03, 45.75, -0.37)
CIE-LCHlch(27.03, 45.75, 359.53°)
OKLaboklab(38.95% 0.1407 -0.0005)
OKLCHoklch(38.95% 0.141 359.8)
XYZxyz(9.4027, 5.1059, 5.6436)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1442 #147B4D
analogous
#7B1475 #7B1442 #7B1914
triadic
#7B1442 #427B14 #14427B
tetradic
#7B1442 #757B14 #147B4D #19147B
square
#7B1442 #757B14 #147B4D #19147B
split-complementary
#7B1442 #147B19 #14757B
monochromatic
#1A040E #460B26 #7B1442 #B01D5E #DD2D7B

Accessibility & contrast

On white

10.39
#7B1442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7B1442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1442
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1442#FFFFFF#000000##FFFFFF
##7B14421.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3343
Deuteranopia (green-blind)
#494740
Tritanopia (blue-blind)
#860029
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1442;
/* rgb */ color: rgb(123, 20, 66);
/* oklch */ color: oklch(38.9% 0.141 359.8);
Tailwind
colors: {
  custom: {
    50: '#a65f76',
    500: '#7b1442',
    950: '#000000',
  },
}
SCSS
$custom: #7b1442;
$custom-light: #a65f76;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1442",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 66
  },
  "hsl": {
    "h": 333.204,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38947,
    "c": 0.14071,
    "h": 359.8
  },
  "luminance": 0.05105
}

Semantic roles & 50–950 ramp

primary
#7B1442
secondary
#3AB17C
accent
#EF9E39
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7B1442

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

Preview Lab → · Contrast checker → · Palette generator →

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