#7B1F4E#7B1F4E

#7B1F4E is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.134 H 353.6°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#7B1F4E
RGBrgb(123, 31, 78)
HSLhsl(329, 60%, 30%)
HSVhsv(329, 75%, 48%)
CMYKcmyk(0%, 74.8%, 36.6%, 51.8%)
CIE-LABlab(28.75, 43.41, -5.85)
CIE-LCHlch(28.75, 43.80, 352.32°)
OKLaboklab(40.34% 0.133 -0.0149)
OKLCHoklch(40.34% 0.134 353.6)
XYZxyz(10.0341, 5.7422, 7.7862)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1F4E #1F7B4C
analogous
#7A1F7B #7B1F4E #7B1F20
triadic
#7B1F4E #4E7B1F #1F4E7B
tetradic
#7B1F4E #7B7A1F #1F7B4C #1F207B
square
#7B1F4E #7B7A1F #1F7B4C #1F207B
split-complementary
#7B1F4E #207B1F #1F7B7A
monochromatic
#190610 #4A132F #7B1F4E #AC2B6D #D0448C

Accessibility & contrast

On white

9.78
#7B1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7B1F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1F4E
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1F4E#FFFFFF#000000##FFFFFF
##7B1F4E1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1f4e;
/* rgb */ color: rgb(123, 31, 78);
/* oklch */ color: oklch(40.3% 0.134 353.6);
Tailwind
colors: {
  custom: {
    50: '#a5637f',
    500: '#7b1f4e',
    950: '#000000',
  },
}
SCSS
$custom: #7b1f4e;
$custom-light: #a5637f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1f4e",
  "rgb": {
    "r": 123,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 329.348,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40344,
    "c": 0.13385,
    "h": 353.6
  },
  "luminance": 0.05741
}

Semantic roles & 50–950 ramp

primary
#7B1F4E
secondary
#48AE7A
accent
#E39245
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B1F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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