#7B1A55#7B1A55

#7B1A55 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.143 H 348.4°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7B1A55
RGBrgb(123, 26, 85)
HSLhsl(324, 65%, 29%)
HSVhsv(324, 79%, 48%)
CMYKcmyk(0%, 78.9%, 30.9%, 51.8%)
CIE-LABlab(28.40, 46.06, -11.02)
CIE-LCHlch(28.40, 47.36, 346.55°)
OKLaboklab(40.18% 0.1406 -0.029)
OKLCHoklch(40.18% 0.144 348.4)
XYZxyz(10.1780, 5.6068, 9.1388)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A55 #1A7B40
analogous
#711A7B #7B1A55 #7B1A25
triadic
#7B1A55 #557B1A #1A557B
tetradic
#7B1A55 #7B711A #1A7B40 #1A257B
square
#7B1A55 #7B711A #1A7B40 #1A257B
split-complementary
#7B1A55 #257B1A #1A7B71
monochromatic
#190511 #480F32 #7B1A55 #AE2578 #D53A99

Accessibility & contrast

On white

9.90
#7B1A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7B1A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A55
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A55#FFFFFF#000000##FFFFFF
##7B1A551.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293857
Deuteranopia (green-blind)
#464953
Tritanopia (blue-blind)
#841535
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1a55;
/* rgb */ color: rgb(123, 26, 85);
/* oklch */ color: oklch(40.2% 0.143 348.4);
Tailwind
colors: {
  custom: {
    50: '#a56185',
    500: '#7b1a55',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a55;
$custom-light: #a56185;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a55",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 85
  },
  "hsl": {
    "h": 323.505,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40176,
    "c": 0.1435,
    "h": 348.4
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#7B1A55
secondary
#42AF6D
accent
#E88240
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B1A55

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

Preview Lab → · Contrast checker → · Palette generator →

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