#7B1F56#7B1F56

#7B1F56 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.138 H 348.3°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7B1F56
RGBrgb(123, 31, 86)
HSLhsl(324, 60%, 30%)
HSVhsv(324, 75%, 48%)
CMYKcmyk(0%, 74.8%, 30.1%, 51.8%)
CIE-LABlab(29.07, 44.42, -10.66)
CIE-LCHlch(29.07, 45.69, 346.51°)
OKLaboklab(40.68% 0.1353 -0.028)
OKLCHoklch(40.68% 0.138 348.3)
XYZxyz(10.3386, 5.8640, 9.3897)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1F56 #1F7B44
analogous
#721F7B #7B1F56 #7B1F28
triadic
#7B1F56 #567B1F #1F567B
tetradic
#7B1F56 #7B721F #1F7B44 #1F287B
square
#7B1F56 #7B721F #1F7B44 #1F287B
split-complementary
#7B1F56 #287B1F #1F7B72
monochromatic
#190612 #4A1334 #7B1F56 #AC2B78 #D04498

Accessibility & contrast

On white

9.67
#7B1F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7B1F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1F56
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1F56#FFFFFF#000000##FFFFFF
##7B1F561.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3A58
Deuteranopia (green-blind)
#474A54
Tritanopia (blue-blind)
#841B37
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1f56;
/* rgb */ color: rgb(123, 31, 86);
/* oklch */ color: oklch(40.7% 0.138 348.3);
Tailwind
colors: {
  custom: {
    50: '#a56485',
    500: '#7b1f56',
    950: '#000000',
  },
}
SCSS
$custom: #7b1f56;
$custom-light: #a56485;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1f56",
  "rgb": {
    "r": 123,
    "g": 31,
    "b": 86
  },
  "hsl": {
    "h": 324.13,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40677,
    "c": 0.13814,
    "h": 348.3
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#7B1F56
secondary
#48AE71
accent
#E38445
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B1F56

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

Preview Lab → · Contrast checker → · Palette generator →

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