#7B1F55#7B1F55

#7B1F55 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.138 H 348.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7B1F55
RGBrgb(123, 31, 85)
HSLhsl(325, 60%, 30%)
HSVhsv(325, 75%, 48%)
CMYKcmyk(0%, 74.8%, 30.9%, 51.8%)
CIE-LABlab(29.03, 44.29, -10.06)
CIE-LCHlch(29.03, 45.42, 347.20°)
OKLaboklab(40.63% 0.135 -0.0264)
OKLCHoklch(40.63% 0.138 348.9)
XYZxyz(10.2986, 5.8480, 9.1790)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1F55 #1F7B45
analogous
#731F7B #7B1F55 #7B1F27
triadic
#7B1F55 #557B1F #1F557B
tetradic
#7B1F55 #7B731F #1F7B45 #1F277B
square
#7B1F55 #7B731F #1F7B45 #1F277B
split-complementary
#7B1F55 #277B1F #1F7B73
monochromatic
#190611 #4A1333 #7B1F55 #AC2B77 #D04496

Accessibility & contrast

On white

9.68
#7B1F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1F55
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1F55#FFFFFF#000000##FFFFFF
##7B1F551.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3A56
Deuteranopia (green-blind)
#474A53
Tritanopia (blue-blind)
#841A37
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1f55;
/* rgb */ color: rgb(123, 31, 85);
/* oklch */ color: oklch(40.6% 0.138 348.9);
Tailwind
colors: {
  custom: {
    50: '#a56485',
    500: '#7b1f55',
    950: '#000000',
  },
}
SCSS
$custom: #7b1f55;
$custom-light: #a56485;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1f55",
  "rgb": {
    "r": 123,
    "g": 31,
    "b": 85
  },
  "hsl": {
    "h": 324.783,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40633,
    "c": 0.13756,
    "h": 348.9
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#7B1F55
secondary
#48AE72
accent
#E38645
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B1F55

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

Preview Lab → · Contrast checker → · Palette generator →

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