#7B1E4D#7B1E4D

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

Color values

HEX#7B1E4D
RGBrgb(123, 30, 77)
HSLhsl(330, 61%, 30%)
HSVhsv(330, 76%, 48%)
CMYKcmyk(0%, 75.6%, 37.4%, 51.8%)
CIE-LABlab(28.58, 43.67, -5.45)
CIE-LCHlch(28.58, 44.01, 352.89°)
OKLaboklab(40.21% 0.1339 -0.0138)
OKLCHoklch(40.21% 0.135 354.1)
XYZxyz(9.9728, 5.6765, 7.5902)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E4D #1E7B4C
analogous
#7A1E7B #7B1E4D #7B1E1F
triadic
#7B1E4D #4D7B1E #1E4D7B
tetradic
#7B1E4D #7B7A1E #1E7B4C #1E1F7B
square
#7B1E4D #7B7A1E #1E7B4C #1E1F7B
split-complementary
#7B1E4D #1F7B1E #1E7B7A
monochromatic
#19060F #4A122E #7B1E4D #AC2A6C #D1428A

Accessibility & contrast

On white

9.84
#7B1E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1E4D
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E4D#FFFFFF#000000##FFFFFF
##7B1E4D1.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F394E
Deuteranopia (green-blind)
#494A4B
Tritanopia (blue-blind)
#851532
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1e4d;
/* rgb */ color: rgb(123, 30, 77);
/* oklch */ color: oklch(40.2% 0.135 354.1);
Tailwind
colors: {
  custom: {
    50: '#a5637e',
    500: '#7b1e4d',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e4d;
$custom-light: #a5637e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e4d",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 329.677,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.40206,
    "c": 0.13459,
    "h": 354.1
  },
  "luminance": 0.05675
}

Semantic roles & 50–950 ramp

primary
#7B1E4D
secondary
#46AE7A
accent
#E49344
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B1E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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