#7B1533#7B1533

#7B1533 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.6% C 0.136 H 9.9°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#7B1533
RGBrgb(123, 21, 51)
HSLhsl(342, 71%, 28%)
HSVhsv(342, 83%, 48%)
CMYKcmyk(0%, 82.9%, 58.5%, 51.8%)
CIE-LABlab(26.70, 44.14, 9.32)
CIE-LCHlch(26.70, 45.12, 11.92°)
OKLaboklab(38.56% 0.134 0.0235)
OKLCHoklch(38.56% 0.136 9.9)
XYZxyz(9.0350, 4.9876, 3.6183)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1533 #157B5D
analogous
#7B1566 #7B1533 #7B2A15
triadic
#7B1533 #337B15 #15337B
tetradic
#7B1533 #667B15 #157B5D #2A157B
square
#7B1533 #667B15 #157B5D #2A157B
split-complementary
#7B1533 #157B2A #15667B
monochromatic
#1A040B #470C1D #7B1533 #AF1E49 #DB2F62

Accessibility & contrast

On white

10.51
#7B1533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7B1533 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1533
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1533#FFFFFF#000000##FFFFFF
##7B15331.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313233
Deuteranopia (green-blind)
#4C4630
Tritanopia (blue-blind)
#870022
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1533;
/* rgb */ color: rgb(123, 21, 51);
/* oklch */ color: oklch(38.6% 0.136 9.9);
Tailwind
colors: {
  custom: {
    50: '#a75e6a',
    500: '#7b1533',
    950: '#000000',
  },
}
SCSS
$custom: #7b1533;
$custom-light: #a75e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1533",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 51
  },
  "hsl": {
    "h": 342.353,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38559,
    "c": 0.13599,
    "h": 9.9
  },
  "luminance": 0.04986
}

Semantic roles & 50–950 ramp

primary
#7B1533
secondary
#3BB08E
accent
#EEB93A
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7B1533

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

Preview Lab → · Contrast checker → · Palette generator →

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