#7B1F50#7B1F50

#7B1F50 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.135 H 352.2°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#7B1F50
RGBrgb(123, 31, 80)
HSLhsl(328, 60%, 30%)
HSVhsv(328, 75%, 48%)
CMYKcmyk(0%, 74.8%, 35%, 51.8%)
CIE-LABlab(28.83, 43.66, -7.07)
CIE-LCHlch(28.83, 44.22, 350.81°)
OKLaboklab(40.42% 0.1336 -0.0182)
OKLCHoklch(40.42% 0.135 352.2)
XYZxyz(10.1069, 5.7713, 8.1696)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1F50 #1F7B4A
analogous
#781F7B #7B1F50 #7B1F22
triadic
#7B1F50 #507B1F #1F507B
tetradic
#7B1F50 #7B781F #1F7B4A #1F227B
square
#7B1F50 #7B781F #1F7B4A #1F227B
split-complementary
#7B1F50 #227B1F #1F7B78
monochromatic
#190610 #4A1330 #7B1F50 #AC2B70 #D0448F

Accessibility & contrast

On white

9.75
#7B1F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1F50
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1F50#FFFFFF#000000##FFFFFF
##7B1F501.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3951
Deuteranopia (green-blind)
#494A4E
Tritanopia (blue-blind)
#851834
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1f50;
/* rgb */ color: rgb(123, 31, 80);
/* oklch */ color: oklch(40.4% 0.135 352.2);
Tailwind
colors: {
  custom: {
    50: '#a56381',
    500: '#7b1f50',
    950: '#000000',
  },
}
SCSS
$custom: #7b1f50;
$custom-light: #a56381;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1f50",
  "rgb": {
    "r": 123,
    "g": 31,
    "b": 80
  },
  "hsl": {
    "h": 328.043,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40424,
    "c": 0.13485,
    "h": 352.2
  },
  "luminance": 0.0577
}

Semantic roles & 50–950 ramp

primary
#7B1F50
secondary
#48AE78
accent
#E38F45
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B1F50

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

Preview Lab → · Contrast checker → · Palette generator →

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