#7B1536#7B1536

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

Color values

HEX#7B1536
RGBrgb(123, 21, 54)
HSLhsl(341, 71%, 28%)
HSVhsv(341, 83%, 48%)
CMYKcmyk(0%, 82.9%, 56.1%, 51.8%)
CIE-LABlab(26.78, 44.38, 7.39)
CIE-LCHlch(26.78, 44.99, 9.45°)
OKLaboklab(38.64% 0.1352 0.0189)
OKLCHoklch(38.64% 0.136 8)
XYZxyz(9.1033, 5.0149, 3.9779)
Luminance0.0501 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1536 #157B5A
analogous
#7B1569 #7B1536 #7B2715
triadic
#7B1536 #367B15 #15367B
tetradic
#7B1536 #697B15 #157B5A #27157B
square
#7B1536 #697B15 #157B5A #27157B
split-complementary
#7B1536 #157B27 #15697B
monochromatic
#1A040B #470C1F #7B1536 #AF1E4D #DB2F67

Accessibility & contrast

On white

10.49
#7B1536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1536
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1536#FFFFFF#000000##FFFFFF
##7B15361.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313237
Deuteranopia (green-blind)
#4B4734
Tritanopia (blue-blind)
#870024
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1536;
/* rgb */ color: rgb(123, 21, 54);
/* oklch */ color: oklch(38.6% 0.136 8.0);
Tailwind
colors: {
  custom: {
    50: '#a75e6c',
    500: '#7b1536',
    950: '#000000',
  },
}
SCSS
$custom: #7b1536;
$custom-light: #a75e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1536",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 54
  },
  "hsl": {
    "h": 340.588,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38641,
    "c": 0.13649,
    "h": 8
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#7B1536
secondary
#3BB08B
accent
#EEB43A
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #7B1536

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

Preview Lab → · Contrast checker → · Palette generator →

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