#7B1B5D#7B1B5D

#7B1B5D is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.147 H 343.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7B1B5D
RGBrgb(123, 27, 93)
HSLhsl(319, 64%, 29%)
HSVhsv(319, 78%, 48%)
CMYKcmyk(0%, 78%, 24.4%, 51.8%)
CIE-LABlab(28.87, 46.80, -15.55)
CIE-LCHlch(28.87, 49.32, 341.62°)
OKLaboklab(40.63% 0.1413 -0.0416)
OKLCHoklch(40.63% 0.147 343.6)
XYZxyz(10.5365, 5.7863, 10.9158)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B5D #1B7B39
analogous
#691B7B #7B1B5D #7B1B2D
triadic
#7B1B5D #5D7B1B #1B5D7B
tetradic
#7B1B5D #7B691B #1B7B39 #1B2D7B
square
#7B1B5D #7B691B #1B7B39 #1B2D7B
split-complementary
#7B1B5D #2D7B1B #1B7B69
monochromatic
#190613 #491037 #7B1B5D #AD2683 #D43CA5

Accessibility & contrast

On white

9.74
#7B1B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7B1B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1B5D
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B5D#FFFFFF#000000##FFFFFF
##7B1B5D1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263A5F
Deuteranopia (green-blind)
#444A5B
Tritanopia (blue-blind)
#831B3A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1b5d;
/* rgb */ color: rgb(123, 27, 93);
/* oklch */ color: oklch(40.6% 0.147 343.6);
Tailwind
colors: {
  custom: {
    50: '#a5628b',
    500: '#7b1b5d',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b5d;
$custom-light: #a5628b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b5d",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 93
  },
  "hsl": {
    "h": 318.75,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40631,
    "c": 0.14725,
    "h": 343.6
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

primary
#7B1B5D
secondary
#43AF65
accent
#E77541
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B1B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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