#7B1940#7B1940

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

Color values

HEX#7B1940
RGBrgb(123, 25, 64)
HSLhsl(336, 66%, 29%)
HSVhsv(336, 80%, 48%)
CMYKcmyk(0%, 79.7%, 48%, 51.8%)
CIE-LABlab(27.51, 44.02, 1.67)
CIE-LCHlch(27.51, 44.05, 2.17°)
OKLaboklab(39.28% 0.135 0.0048)
OKLCHoklch(39.28% 0.135 2)
XYZxyz(9.4422, 5.2776, 5.3710)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1940 #197B54
analogous
#7B1971 #7B1940 #7B2319
triadic
#7B1940 #407B19 #19407B
tetradic
#7B1940 #717B19 #197B54 #23197B
square
#7B1940 #717B19 #197B54 #23197B
split-complementary
#7B1940 #197B23 #19717B
monochromatic
#19050D #480F26 #7B1940 #AE235A #D73877

Accessibility & contrast

On white

10.22
#7B1940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1940
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1940#FFFFFF#000000##FFFFFF
##7B19401.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303541
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#86042A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1940;
/* rgb */ color: rgb(123, 25, 64);
/* oklch */ color: oklch(39.3% 0.135 2.0);
Tailwind
colors: {
  custom: {
    50: '#a66074',
    500: '#7b1940',
    950: '#000000',
  },
}
SCSS
$custom: #7b1940;
$custom-light: #a66074;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1940",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 336.122,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39276,
    "c": 0.13512,
    "h": 2
  },
  "luminance": 0.05276
}

Semantic roles & 50–950 ramp

primary
#7B1940
secondary
#40AF83
accent
#E9A53F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7B1940

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

Preview Lab → · Contrast checker → · Palette generator →

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