#7B1E4E#7B1E4E

#7B1E4E is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.135 H 353.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#7B1E4E
RGBrgb(123, 30, 78)
HSLhsl(329, 61%, 30%)
HSVhsv(329, 76%, 48%)
CMYKcmyk(0%, 75.6%, 36.6%, 51.8%)
CIE-LABlab(28.62, 43.79, -6.05)
CIE-LCHlch(28.62, 44.20, 352.13°)
OKLaboklab(40.25% 0.1342 -0.0155)
OKLCHoklch(40.25% 0.135 353.4)
XYZxyz(10.0084, 5.6908, 7.7776)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E4E #1E7B4B
analogous
#791E7B #7B1E4E #7B1E20
triadic
#7B1E4E #4E7B1E #1E4E7B
tetradic
#7B1E4E #7B791E #1E7B4B #1E207B
square
#7B1E4E #7B791E #1E7B4B #1E207B
split-complementary
#7B1E4E #207B1E #1E7B79
monochromatic
#190610 #4A122F #7B1E4E #AC2A6D #D1428C

Accessibility & contrast

On white

9.82
#7B1E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1E4E
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E4E#FFFFFF#000000##FFFFFF
##7B1E4E1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F394F
Deuteranopia (green-blind)
#494A4C
Tritanopia (blue-blind)
#851633
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1e4e;
/* rgb */ color: rgb(123, 30, 78);
/* oklch */ color: oklch(40.2% 0.135 353.4);
Tailwind
colors: {
  custom: {
    50: '#a5637f',
    500: '#7b1e4e',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e4e;
$custom-light: #a5637f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e4e",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 329.032,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.40246,
    "c": 0.13508,
    "h": 353.4
  },
  "luminance": 0.0569
}

Semantic roles & 50–950 ramp

primary
#7B1E4E
secondary
#46AE79
accent
#E49144
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B1E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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