#7B1942#7B1942

#7B1942 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.136 H 0.7°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#7B1942
RGBrgb(123, 25, 66)
HSLhsl(335, 66%, 29%)
HSVhsv(335, 80%, 48%)
CMYKcmyk(0%, 79.7%, 46.3%, 51.8%)
CIE-LABlab(27.58, 44.22, 0.42)
CIE-LCHlch(27.58, 44.22, 0.54°)
OKLaboklab(39.34% 0.1358 0.0016)
OKLCHoklch(39.34% 0.136 0.7)
XYZxyz(9.5001, 5.3008, 5.6761)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1942 #197B52
analogous
#7B1973 #7B1942 #7B2119
triadic
#7B1942 #427B19 #19427B
tetradic
#7B1942 #737B19 #197B52 #21197B
square
#7B1942 #737B19 #197B52 #21197B
split-complementary
#7B1942 #197B21 #19737B
monochromatic
#19050E #480F27 #7B1942 #AE235D #D7387A

Accessibility & contrast

On white

10.19
#7B1942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7B1942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1942
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1942#FFFFFF#000000##FFFFFF
##7B19421.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303543
Deuteranopia (green-blind)
#4A4840
Tritanopia (blue-blind)
#86052B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1942;
/* rgb */ color: rgb(123, 25, 66);
/* oklch */ color: oklch(39.3% 0.136 0.7);
Tailwind
colors: {
  custom: {
    50: '#a66076',
    500: '#7b1942',
    950: '#000000',
  },
}
SCSS
$custom: #7b1942;
$custom-light: #a66076;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1942",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 66
  },
  "hsl": {
    "h": 334.898,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39343,
    "c": 0.13578,
    "h": 0.7
  },
  "luminance": 0.053
}

Semantic roles & 50–950 ramp

primary
#7B1942
secondary
#40AF81
accent
#E9A23F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7B1942

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

Preview Lab → · Contrast checker → · Palette generator →

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