#7B1A42#7B1A42

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

Color values

HEX#7B1A42
RGBrgb(123, 26, 66)
HSLhsl(335, 65%, 29%)
HSVhsv(335, 79%, 48%)
CMYKcmyk(0%, 78.9%, 46.3%, 51.8%)
CIE-LABlab(27.69, 43.88, 0.59)
CIE-LCHlch(27.69, 43.89, 0.77°)
OKLaboklab(39.43% 0.1347 0.002)
OKLCHoklch(39.43% 0.135 0.9)
XYZxyz(9.5219, 5.3443, 5.6834)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A42 #1A7B53
analogous
#7B1A73 #7B1A42 #7B231A
triadic
#7B1A42 #427B1A #1A427B
tetradic
#7B1A42 #737B1A #1A7B53 #231A7B
square
#7B1A42 #737B1A #1A7B53 #231A7B
split-complementary
#7B1A42 #1A7B23 #1A737B
monochromatic
#19050E #480F27 #7B1A42 #AE255D #D53A7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B1A42#FFFFFF#000000##FFFFFF
##7B1A421.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)
#303543
Deuteranopia (green-blind)
#4A4840
Tritanopia (blue-blind)
#86072B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1a42;
/* rgb */ color: rgb(123, 26, 66);
/* oklch */ color: oklch(39.4% 0.135 0.9);
Tailwind
colors: {
  custom: {
    50: '#a66176',
    500: '#7b1a42',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a42;
$custom-light: #a66176;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a42",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 335.258,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39431,
    "c": 0.13471,
    "h": 0.9
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#7B1A42
secondary
#42AF82
accent
#E8A340
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7B1A42

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

Preview Lab → · Contrast checker → · Palette generator →

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