#7B1658#7B1658

#7B1658 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.149 H 346.2°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#7B1658
RGBrgb(123, 22, 88)
HSLhsl(321, 70%, 28%)
HSVhsv(321, 82%, 48%)
CMYKcmyk(0%, 82.1%, 28.5%, 51.8%)
CIE-LABlab(28.09, 47.70, -13.47)
CIE-LCHlch(28.09, 49.57, 344.23°)
OKLaboklab(39.99% 0.1451 -0.0357)
OKLCHoklch(39.99% 0.149 346.2)
XYZxyz(10.2172, 5.4905, 9.7523)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1658 #167B39
analogous
#6B167B #7B1658 #7B1625
triadic
#7B1658 #587B16 #16587B
tetradic
#7B1658 #7B6B16 #167B39 #16257B
square
#7B1658 #7B6B16 #167B39 #16257B
split-complementary
#7B1658 #257B16 #167B6B
monochromatic
#1A0513 #470D33 #7B1658 #AF1F7D #DA31A0

Accessibility & contrast

On white

10.01
#7B1658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7B1658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1658
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1658#FFFFFF#000000##FFFFFF
##7B16581.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25375A
Deuteranopia (green-blind)
#444856
Tritanopia (blue-blind)
#841335
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1658;
/* rgb */ color: rgb(123, 22, 88);
/* oklch */ color: oklch(40.0% 0.149 346.2);
Tailwind
colors: {
  custom: {
    50: '#a56087',
    500: '#7b1658',
    950: '#000000',
  },
}
SCSS
$custom: #7b1658;
$custom-light: #a56087;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1658",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 320.792,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39993,
    "c": 0.14946,
    "h": 346.2
  },
  "luminance": 0.05489
}

Semantic roles & 50–950 ramp

primary
#7B1658
secondary
#3DB065
accent
#EC793B
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B1658

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

Preview Lab → · Contrast checker → · Palette generator →

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