#7B1840#7B1840

#7B1840 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.136 H 1.8°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#7B1840
RGBrgb(123, 24, 64)
HSLhsl(336, 67%, 29%)
HSVhsv(336, 80%, 48%)
CMYKcmyk(0%, 80.5%, 48%, 51.8%)
CIE-LABlab(27.40, 44.35, 1.50)
CIE-LCHlch(27.40, 44.37, 1.94°)
OKLaboklab(39.19% 0.1361 0.0044)
OKLCHoklch(39.19% 0.136 1.8)
XYZxyz(9.4212, 5.2357, 5.3640)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1840 #187B53
analogous
#7B1872 #7B1840 #7B2218
triadic
#7B1840 #407B18 #18407B
tetradic
#7B1840 #727B18 #187B53 #22187B
square
#7B1840 #727B18 #187B53 #22187B
split-complementary
#7B1840 #187B22 #18727B
monochromatic
#1A050D #480E25 #7B1840 #AE225B #D83677

Accessibility & contrast

On white

10.26
#7B1840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7B1840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1840
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1840#FFFFFF#000000##FFFFFF
##7B18401.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303441
Deuteranopia (green-blind)
#4A483E
Tritanopia (blue-blind)
#86022A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1840;
/* rgb */ color: rgb(123, 24, 64);
/* oklch */ color: oklch(39.2% 0.136 1.8);
Tailwind
colors: {
  custom: {
    50: '#a66074',
    500: '#7b1840',
    950: '#000000',
  },
}
SCSS
$custom: #7b1840;
$custom-light: #a66074;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1840",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 335.758,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39191,
    "c": 0.13616,
    "h": 1.8
  },
  "luminance": 0.05234
}

Semantic roles & 50–950 ramp

primary
#7B1840
secondary
#3FB082
accent
#EAA43E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7B1840

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

Preview Lab → · Contrast checker → · Palette generator →

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