#7B1A4F#7B1A4F

#7B1A4F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.140 H 352.2°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#7B1A4F
RGBrgb(123, 26, 79)
HSLhsl(327, 65%, 29%)
HSVhsv(327, 79%, 48%)
CMYKcmyk(0%, 78.9%, 35.8%, 51.8%)
CIE-LABlab(28.16, 45.32, -7.41)
CIE-LCHlch(28.16, 45.92, 350.71°)
OKLaboklab(39.92% 0.139 -0.0191)
OKLCHoklch(39.92% 0.14 352.2)
XYZxyz(9.9497, 5.5155, 7.9363)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A4F #1A7B46
analogous
#771A7B #7B1A4F #7B1A1F
triadic
#7B1A4F #4F7B1A #1A4F7B
tetradic
#7B1A4F #7B771A #1A7B46 #1A1F7B
square
#7B1A4F #7B771A #1A7B46 #1A1F7B
split-complementary
#7B1A4F #1F7B1A #1A7B77
monochromatic
#190510 #480F2F #7B1A4F #AE256F #D53A8F

Accessibility & contrast

On white

9.99
#7B1A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7B1A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A4F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A4F#FFFFFF#000000##FFFFFF
##7B1A4F1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3750
Deuteranopia (green-blind)
#47494D
Tritanopia (blue-blind)
#851132
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1a4f;
/* rgb */ color: rgb(123, 26, 79);
/* oklch */ color: oklch(39.9% 0.140 352.2);
Tailwind
colors: {
  custom: {
    50: '#a56180',
    500: '#7b1a4f',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a4f;
$custom-light: #a56180;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a4f",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 327.216,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3992,
    "c": 0.14026,
    "h": 352.2
  },
  "luminance": 0.05514
}

Semantic roles & 50–950 ramp

primary
#7B1A4F
secondary
#42AF73
accent
#E88C40
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7B1A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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