#7C1951#7C1951

#7C1951 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.143 H 351.2°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7C1951
RGBrgb(124, 25, 81)
HSLhsl(326, 66%, 29%)
HSVhsv(326, 80%, 49%)
CMYKcmyk(0%, 79.8%, 34.7%, 51.4%)
CIE-LABlab(28.32, 46.17, -8.48)
CIE-LCHlch(28.32, 46.94, 349.59°)
OKLaboklab(40.1% 0.1415 -0.022)
OKLCHoklch(40.1% 0.143 351.2)
XYZxyz(10.1456, 5.5756, 8.3249)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1951 #197C44
analogous
#76197C #7C1951 #7C191F
triadic
#7C1951 #517C19 #19517C
tetradic
#7C1951 #7C7619 #197C44 #191F7C
square
#7C1951 #7C7619 #197C44 #191F7C
split-complementary
#7C1951 #1F7C19 #197C76
monochromatic
#190511 #490F30 #7C1951 #AF2372 #D73892

Accessibility & contrast

On white

9.93
#7C1951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7C1951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1951
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1951#FFFFFF#000000##FFFFFF
##7C19511.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3852
Deuteranopia (green-blind)
#47494F
Tritanopia (blue-blind)
#861033
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1951;
/* rgb */ color: rgb(124, 25, 81);
/* oklch */ color: oklch(40.1% 0.143 351.2);
Tailwind
colors: {
  custom: {
    50: '#a66181',
    500: '#7c1951',
    950: '#000000',
  },
}
SCSS
$custom: #7c1951;
$custom-light: #a66181;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1951",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 81
  },
  "hsl": {
    "h": 326.061,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40098,
    "c": 0.14317,
    "h": 351.2
  },
  "luminance": 0.05574
}

Semantic roles & 50–950 ramp

primary
#7C1951
secondary
#40B071
accent
#E9893E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7C1951

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

Preview Lab → · Contrast checker → · Palette generator →

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