#7B1F4F#7B1F4F

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

Color values

HEX#7B1F4F
RGBrgb(123, 31, 79)
HSLhsl(329, 60%, 30%)
HSVhsv(329, 75%, 48%)
CMYKcmyk(0%, 74.8%, 35.8%, 51.8%)
CIE-LABlab(28.79, 43.53, -6.46)
CIE-LCHlch(28.79, 44.01, 351.56°)
OKLaboklab(40.38% 0.1333 -0.0166)
OKLCHoklch(40.38% 0.134 352.9)
XYZxyz(10.0702, 5.7566, 7.9764)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1F4F #1F7B4B
analogous
#791F7B #7B1F4F #7B1F21
triadic
#7B1F4F #4F7B1F #1F4F7B
tetradic
#7B1F4F #7B791F #1F7B4B #1F217B
square
#7B1F4F #7B791F #1F7B4B #1F217B
split-complementary
#7B1F4F #217B1F #1F7B79
monochromatic
#190610 #4A1330 #7B1F4F #AC2B6E #D0448D

Accessibility & contrast

On white

9.76
#7B1F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1F4F
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1F4F#FFFFFF#000000##FFFFFF
##7B1F4F1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3950
Deuteranopia (green-blind)
#494A4D
Tritanopia (blue-blind)
#851734
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1f4f;
/* rgb */ color: rgb(123, 31, 79);
/* oklch */ color: oklch(40.4% 0.134 352.9);
Tailwind
colors: {
  custom: {
    50: '#a56380',
    500: '#7b1f4f',
    950: '#000000',
  },
}
SCSS
$custom: #7b1f4f;
$custom-light: #a56380;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1f4f",
  "rgb": {
    "r": 123,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 328.696,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40384,
    "c": 0.13434,
    "h": 352.9
  },
  "luminance": 0.05755
}

Semantic roles & 50–950 ramp

primary
#7B1F4F
secondary
#48AE79
accent
#E39045
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B1F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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