#7B1558#7B1558

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

Color values

HEX#7B1558
RGBrgb(123, 21, 88)
HSLhsl(321, 71%, 28%)
HSVhsv(321, 83%, 48%)
CMYKcmyk(0%, 82.9%, 28.5%, 51.8%)
CIE-LABlab(27.99, 47.99, -13.62)
CIE-LCHlch(27.99, 49.89, 344.15°)
OKLaboklab(39.92% 0.146 -0.0361)
OKLCHoklch(39.92% 0.15 346.1)
XYZxyz(10.1985, 5.4530, 9.7461)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1558 #157B38
analogous
#6B157B #7B1558 #7B1525
triadic
#7B1558 #587B15 #15587B
tetradic
#7B1558 #7B6B15 #157B38 #15257B
square
#7B1558 #7B6B15 #157B38 #15257B
split-complementary
#7B1558 #257B15 #157B6B
monochromatic
#1A0413 #470C33 #7B1558 #AF1E7D #DB2FA0

Accessibility & contrast

On white

10.05
#7B1558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1558
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1558#FFFFFF#000000##FFFFFF
##7B15581.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24375A
Deuteranopia (green-blind)
#434856
Tritanopia (blue-blind)
#841235
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1558;
/* rgb */ color: rgb(123, 21, 88);
/* oklch */ color: oklch(39.9% 0.150 346.1);
Tailwind
colors: {
  custom: {
    50: '#a56087',
    500: '#7b1558',
    950: '#000000',
  },
}
SCSS
$custom: #7b1558;
$custom-light: #a56087;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1558",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 88
  },
  "hsl": {
    "h": 320.588,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39921,
    "c": 0.15044,
    "h": 346.1
  },
  "luminance": 0.05452
}

Semantic roles & 50–950 ramp

primary
#7B1558
secondary
#3BB064
accent
#EE783A
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B1558

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

Preview Lab → · Contrast checker → · Palette generator →

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