#7C1B58#7C1B58

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

Color values

HEX#7C1B58
RGBrgb(124, 27, 88)
HSLhsl(322, 64%, 30%)
HSVhsv(322, 78%, 49%)
CMYKcmyk(0%, 78.2%, 29%, 51.4%)
CIE-LABlab(28.84, 46.39, -12.31)
CIE-LCHlch(28.84, 48.00, 345.14°)
OKLaboklab(40.57% 0.1412 -0.0325)
OKLCHoklch(40.57% 0.145 347)
XYZxyz(10.4661, 5.7747, 9.7941)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B58 #1B7C3F
analogous
#701B7C #7C1B58 #7C1B28
triadic
#7C1B58 #587C1B #1B587C
tetradic
#7C1B58 #7C701B #1B7C3F #1B287C
square
#7C1B58 #7C701B #1B7C3F #1B287C
split-complementary
#7C1B58 #287C1B #1B7C70
monochromatic
#190512 #4A1034 #7C1B58 #AE267C #D53D9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1B58#FFFFFF#000000##FFFFFF
##7C1B581.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)
#29395A
Deuteranopia (green-blind)
#464A56
Tritanopia (blue-blind)
#851737
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1b58;
/* rgb */ color: rgb(124, 27, 88);
/* oklch */ color: oklch(40.6% 0.145 347.0);
Tailwind
colors: {
  custom: {
    50: '#a66287',
    500: '#7c1b58',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b58;
$custom-light: #a66287;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b58",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 88
  },
  "hsl": {
    "h": 322.268,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40572,
    "c": 0.14487,
    "h": 347
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#7C1B58
secondary
#43B06B
accent
#E77E41
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7C1B58

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

Preview Lab → · Contrast checker → · Palette generator →

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