#7B1557#7B1557

#7B1557 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.9% C 0.150 H 346.7°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#7B1557
RGBrgb(123, 21, 87)
HSLhsl(321, 71%, 28%)
HSVhsv(321, 83%, 48%)
CMYKcmyk(0%, 82.9%, 29.3%, 51.8%)
CIE-LABlab(27.94, 47.86, -13.03)
CIE-LCHlch(27.94, 49.60, 344.77°)
OKLaboklab(39.87% 0.1458 -0.0345)
OKLCHoklch(39.87% 0.15 346.7)
XYZxyz(10.1573, 5.4366, 9.5294)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1557 #157B39
analogous
#6C157B #7B1557 #7B1524
triadic
#7B1557 #577B15 #15577B
tetradic
#7B1557 #7B6C15 #157B39 #15247B
square
#7B1557 #7B6C15 #157B39 #15247B
split-complementary
#7B1557 #247B15 #157B6C
monochromatic
#1A0412 #470C32 #7B1557 #AF1E7C #DB2F9F

Accessibility & contrast

On white

10.06
#7B1557 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7B1557 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1557
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1557#FFFFFF#000000##FFFFFF
##7B15571.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253759
Deuteranopia (green-blind)
#444855
Tritanopia (blue-blind)
#841135
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1557;
/* rgb */ color: rgb(123, 21, 87);
/* oklch */ color: oklch(39.9% 0.150 346.7);
Tailwind
colors: {
  custom: {
    50: '#a56086',
    500: '#7b1557',
    950: '#000000',
  },
}
SCSS
$custom: #7b1557;
$custom-light: #a56086;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1557",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 87
  },
  "hsl": {
    "h": 321.176,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39874,
    "c": 0.14985,
    "h": 346.7
  },
  "luminance": 0.05435
}

Semantic roles & 50–950 ramp

primary
#7B1557
secondary
#3BB065
accent
#EE7A3A
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B1557

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

Preview Lab → · Contrast checker → · Palette generator →

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