#7B1140#7B1140

#7B1140 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.7% C 0.143 H 0.7°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#7B1140
RGBrgb(123, 17, 64)
HSLhsl(333, 76%, 27%)
HSVhsv(333, 86%, 48%)
CMYKcmyk(0%, 86.2%, 48%, 51.8%)
CIE-LABlab(26.69, 46.36, 0.47)
CIE-LCHlch(26.69, 46.37, 0.59°)
OKLaboklab(38.67% 0.1426 0.0017)
OKLCHoklch(38.67% 0.143 0.7)
XYZxyz(9.2950, 4.9833, 5.3219)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1140 #117B4C
analogous
#7B1175 #7B1140 #7B1711
triadic
#7B1140 #407B11 #11407B
tetradic
#7B1140 #757B11 #117B4C #17117B
square
#7B1140 #757B11 #117B4C #17117B
split-complementary
#7B1140 #117B17 #11757B
monochromatic
#1B040E #450A24 #7B1140 #B1185C #E12579

Accessibility & contrast

On white

10.52
#7B1140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7B1140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1140
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1140#FFFFFF#000000##FFFFFF
##7B11401.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3241
Deuteranopia (green-blind)
#49463E
Tritanopia (blue-blind)
#860027
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1140;
/* rgb */ color: rgb(123, 17, 64);
/* oklch */ color: oklch(38.7% 0.143 0.7);
Tailwind
colors: {
  custom: {
    50: '#a65e74',
    500: '#7b1140',
    950: '#000000',
  },
}
SCSS
$custom: #7b1140;
$custom-light: #a65e74;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1140",
  "rgb": {
    "r": 123,
    "g": 17,
    "b": 64
  },
  "hsl": {
    "h": 333.396,
    "s": 75.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38671,
    "c": 0.1426,
    "h": 0.7
  },
  "luminance": 0.04982
}

Semantic roles & 50–950 ramp

primary
#7B1140
secondary
#36B17B
accent
#F29F35
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7B1140

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

Preview Lab → · Contrast checker → · Palette generator →

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