#7B1A58#7B1A58

#7B1A58 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.145 H 346.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#7B1A58
RGBrgb(123, 26, 88)
HSLhsl(322, 65%, 29%)
HSVhsv(322, 79%, 48%)
CMYKcmyk(0%, 78.9%, 28.5%, 51.8%)
CIE-LABlab(28.53, 46.45, -12.80)
CIE-LCHlch(28.53, 48.19, 344.60°)
OKLaboklab(40.31% 0.1412 -0.0339)
OKLCHoklch(40.31% 0.145 346.5)
XYZxyz(10.2997, 5.6555, 9.7798)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A58 #1A7B3D
analogous
#6E1A7B #7B1A58 #7B1A28
triadic
#7B1A58 #587B1A #1A587B
tetradic
#7B1A58 #7B6E1A #1A7B3D #1A287B
square
#7B1A58 #7B6E1A #1A7B3D #1A287B
split-complementary
#7B1A58 #287B1A #1A7B6E
monochromatic
#190512 #480F34 #7B1A58 #AE257C #D53A9D

Accessibility & contrast

On white

9.86
#7B1A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7B1A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A58
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A58#FFFFFF#000000##FFFFFF
##7B1A581.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28395A
Deuteranopia (green-blind)
#454956
Tritanopia (blue-blind)
#841737
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1a58;
/* rgb */ color: rgb(123, 26, 88);
/* oklch */ color: oklch(40.3% 0.145 346.5);
Tailwind
colors: {
  custom: {
    50: '#a56287',
    500: '#7b1a58',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a58;
$custom-light: #a56287;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a58",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 321.649,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40311,
    "c": 0.14526,
    "h": 346.5
  },
  "luminance": 0.05654
}

Semantic roles & 50–950 ramp

primary
#7B1A58
secondary
#42AF69
accent
#E87C40
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B1A58

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

Preview Lab → · Contrast checker → · Palette generator →

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