#7B1458#7B1458

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

Color values

HEX#7B1458
RGBrgb(123, 20, 88)
HSLhsl(320, 72%, 28%)
HSVhsv(320, 84%, 48%)
CMYKcmyk(0%, 83.7%, 28.5%, 51.8%)
CIE-LABlab(27.89, 48.27, -13.77)
CIE-LCHlch(27.89, 50.19, 344.08°)
OKLaboklab(39.85% 0.1469 -0.0365)
OKLCHoklch(39.85% 0.151 346)
XYZxyz(10.1805, 5.4170, 9.7401)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1458 #147B37
analogous
#6A147B #7B1458 #7B1425
triadic
#7B1458 #587B14 #14587B
tetradic
#7B1458 #7B6A14 #147B37 #14257B
square
#7B1458 #7B6A14 #147B37 #14257B
split-complementary
#7B1458 #257B14 #147B6A
monochromatic
#1A0413 #460B32 #7B1458 #B01D7E #DD2DA1

Accessibility & contrast

On white

10.08
#7B1458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7B1458 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1458
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1458#FFFFFF#000000##FFFFFF
##7B14581.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1458;
/* rgb */ color: rgb(123, 20, 88);
/* oklch */ color: oklch(39.9% 0.151 346.0);
Tailwind
colors: {
  custom: {
    50: '#a55f87',
    500: '#7b1458',
    950: '#000000',
  },
}
SCSS
$custom: #7b1458;
$custom-light: #a55f87;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1458",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 88
  },
  "hsl": {
    "h": 320.388,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3985,
    "c": 0.15138,
    "h": 346
  },
  "luminance": 0.05416
}

Semantic roles & 50–950 ramp

primary
#7B1458
secondary
#3AB162
accent
#EF7739
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B1458

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

Preview Lab → · Contrast checker → · Palette generator →

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