#7C1B5B#7C1B5B

#7C1B5B is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.147 H 345.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7C1B5B
RGBrgb(124, 27, 91)
HSLhsl(320, 64%, 30%)
HSVhsv(320, 78%, 49%)
CMYKcmyk(0%, 78.2%, 26.6%, 51.4%)
CIE-LABlab(28.97, 46.79, -14.07)
CIE-LCHlch(28.97, 48.86, 343.26°)
OKLaboklab(40.71% 0.1418 -0.0374)
OKLCHoklch(40.71% 0.147 345.2)
XYZxyz(10.5929, 5.8254, 10.4621)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B5B #1B7C3C
analogous
#6C1B7C #7C1B5B #7C1B2B
triadic
#7C1B5B #5B7C1B #1B5B7C
tetradic
#7C1B5B #7C6C1B #1B7C3C #1B2B7C
square
#7C1B5B #7C6C1B #1B7C3C #1B2B7C
split-complementary
#7C1B5B #2B7C1B #1B7C6C
monochromatic
#190512 #4A1036 #7C1B5B #AE2680 #D53DA1

Accessibility & contrast

On white

9.70
#7C1B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1B5B
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B5B#FFFFFF#000000##FFFFFF
##7C1B5B1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283A5D
Deuteranopia (green-blind)
#454A59
Tritanopia (blue-blind)
#851939
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1b5b;
/* rgb */ color: rgb(124, 27, 91);
/* oklch */ color: oklch(40.7% 0.147 345.2);
Tailwind
colors: {
  custom: {
    50: '#a66289',
    500: '#7c1b5b',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b5b;
$custom-light: #a66289;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b5b",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 91
  },
  "hsl": {
    "h": 320.412,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4071,
    "c": 0.14669,
    "h": 345.2
  },
  "luminance": 0.05824
}

Semantic roles & 50–950 ramp

primary
#7C1B5B
secondary
#43B068
accent
#E77941
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7C1B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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