#7B1440#7B1440

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

Color values

HEX#7B1440
RGBrgb(123, 20, 64)
HSLhsl(334, 72%, 28%)
HSVhsv(334, 84%, 48%)
CMYKcmyk(0%, 83.7%, 48%, 51.8%)
CIE-LABlab(26.97, 45.56, 0.88)
CIE-LCHlch(26.97, 45.57, 1.11°)
OKLaboklab(38.88% 0.14 0.0028)
OKLCHoklch(38.88% 0.14 1.1)
XYZxyz(9.3447, 5.0827, 5.3385)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1440 #147B4F
analogous
#7B1473 #7B1440 #7B1B14
triadic
#7B1440 #407B14 #14407B
tetradic
#7B1440 #737B14 #147B4F #1B147B
square
#7B1440 #737B14 #147B4F #1B147B
split-complementary
#7B1440 #147B1B #14737B
monochromatic
#1A040E #460B25 #7B1440 #B01D5B #DD2D78

Accessibility & contrast

On white

10.42
#7B1440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1440
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1440#FFFFFF#000000##FFFFFF
##7B14401.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3341
Deuteranopia (green-blind)
#49473E
Tritanopia (blue-blind)
#860028
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1440;
/* rgb */ color: rgb(123, 20, 64);
/* oklch */ color: oklch(38.9% 0.140 1.1);
Tailwind
colors: {
  custom: {
    50: '#a65e74',
    500: '#7b1440',
    950: '#000000',
  },
}
SCSS
$custom: #7b1440;
$custom-light: #a65e74;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1440",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 64
  },
  "hsl": {
    "h": 334.369,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38878,
    "c": 0.14002,
    "h": 1.1
  },
  "luminance": 0.05081
}

Semantic roles & 50–950 ramp

primary
#7B1440
secondary
#3AB17E
accent
#EFA139
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7B1440

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

Preview Lab → · Contrast checker → · Palette generator →

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