#7B1F53#7B1F53

#7B1F53 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.136 H 350.2°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#7B1F53
RGBrgb(123, 31, 83)
HSLhsl(326, 60%, 30%)
HSVhsv(326, 75%, 48%)
CMYKcmyk(0%, 74.8%, 32.5%, 51.8%)
CIE-LABlab(28.95, 44.03, -8.87)
CIE-LCHlch(28.95, 44.92, 348.61°)
OKLaboklab(40.55% 0.1345 -0.0231)
OKLCHoklch(40.55% 0.136 350.2)
XYZxyz(10.2202, 5.8166, 8.7664)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1F53 #1F7B47
analogous
#751F7B #7B1F53 #7B1F25
triadic
#7B1F53 #537B1F #1F537B
tetradic
#7B1F53 #7B751F #1F7B47 #1F257B
square
#7B1F53 #7B751F #1F7B47 #1F257B
split-complementary
#7B1F53 #257B1F #1F7B75
monochromatic
#190611 #4A1332 #7B1F53 #AC2B74 #D04493

Accessibility & contrast

On white

9.71
#7B1F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7B1F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1F53
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1F53#FFFFFF#000000##FFFFFF
##7B1F531.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3A54
Deuteranopia (green-blind)
#484A51
Tritanopia (blue-blind)
#841936
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1f53;
/* rgb */ color: rgb(123, 31, 83);
/* oklch */ color: oklch(40.5% 0.136 350.2);
Tailwind
colors: {
  custom: {
    50: '#a56383',
    500: '#7b1f53',
    950: '#000000',
  },
}
SCSS
$custom: #7b1f53;
$custom-light: #a56383;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1f53",
  "rgb": {
    "r": 123,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 326.087,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40548,
    "c": 0.13644,
    "h": 350.2
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#7B1F53
secondary
#48AE74
accent
#E38A45
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B1F53

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

Preview Lab → · Contrast checker → · Palette generator →

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