#7B1C4F#7B1C4F

#7B1C4F is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.138 H 352.4°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7B1C4F
RGBrgb(123, 28, 79)
HSLhsl(328, 63%, 30%)
HSVhsv(328, 77%, 48%)
CMYKcmyk(0%, 77.2%, 35.8%, 51.8%)
CIE-LABlab(28.40, 44.63, -7.05)
CIE-LCHlch(28.40, 45.19, 351.03°)
OKLaboklab(40.1% 0.1368 -0.0181)
OKLCHoklch(40.1% 0.138 352.4)
XYZxyz(9.9955, 5.6072, 7.9515)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C4F #1C7B48
analogous
#771C7B #7B1C4F #7B1C20
triadic
#7B1C4F #4F7B1C #1C4F7B
tetradic
#7B1C4F #7B771C #1C7B48 #1C207B
square
#7B1C4F #7B771C #1C7B48 #1C207B
split-complementary
#7B1C4F #207B1C #1C7B77
monochromatic
#190610 #49112F #7B1C4F #AD276F #D33E8E

Accessibility & contrast

On white

9.90
#7B1C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7B1C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1C4F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C4F#FFFFFF#000000##FFFFFF
##7B1C4F1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3850
Deuteranopia (green-blind)
#48494D
Tritanopia (blue-blind)
#851433
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1c4f;
/* rgb */ color: rgb(123, 28, 79);
/* oklch */ color: oklch(40.1% 0.138 352.4);
Tailwind
colors: {
  custom: {
    50: '#a56280',
    500: '#7b1c4f',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c4f;
$custom-light: #a56280;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c4f",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 327.789,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40097,
    "c": 0.13798,
    "h": 352.4
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#7B1C4F
secondary
#44AF75
accent
#E68E42
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B1C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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