#7B1D53#7B1D53

#7B1D53 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.139 H 350.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#7B1D53
RGBrgb(123, 29, 83)
HSLhsl(326, 62%, 30%)
HSVhsv(326, 76%, 48%)
CMYKcmyk(0%, 76.4%, 32.5%, 51.8%)
CIE-LABlab(28.68, 44.77, -9.27)
CIE-LCHlch(28.68, 45.72, 348.31°)
OKLaboklab(40.36% 0.1368 -0.0242)
OKLCHoklch(40.36% 0.139 350)
XYZxyz(10.1696, 5.7154, 8.7496)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D53 #1D7B45
analogous
#741D7B #7B1D53 #7B1D24
triadic
#7B1D53 #537B1D #1D537B
tetradic
#7B1D53 #7B741D #1D7B45 #1D247B
square
#7B1D53 #7B741D #1D7B45 #1D247B
split-complementary
#7B1D53 #247B1D #1D7B74
monochromatic
#190611 #491132 #7B1D53 #AD2974 #D24094

Accessibility & contrast

On white

9.80
#7B1D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7B1D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1D53
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D53#FFFFFF#000000##FFFFFF
##7B1D531.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3954
Deuteranopia (green-blind)
#474A51
Tritanopia (blue-blind)
#841735
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1d53;
/* rgb */ color: rgb(123, 29, 83);
/* oklch */ color: oklch(40.4% 0.139 350.0);
Tailwind
colors: {
  custom: {
    50: '#a56383',
    500: '#7b1d53',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d53;
$custom-light: #a56383;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d53",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 83
  },
  "hsl": {
    "h": 325.532,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40356,
    "c": 0.1389,
    "h": 350
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

primary
#7B1D53
secondary
#45AF72
accent
#E58843
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B1D53

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

Preview Lab → · Contrast checker → · Palette generator →

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