#7C1851#7C1851

#7C1851 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.144 H 351.0°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#7C1851
RGBrgb(124, 24, 81)
HSLhsl(326, 68%, 29%)
HSVhsv(326, 81%, 49%)
CMYKcmyk(0%, 80.6%, 34.7%, 51.4%)
CIE-LABlab(28.20, 46.48, -8.65)
CIE-LCHlch(28.20, 47.28, 349.46°)
OKLaboklab(40.02% 0.1425 -0.0224)
OKLCHoklch(40.02% 0.144 351)
XYZxyz(10.1246, 5.5337, 8.3179)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1851 #187C43
analogous
#75187C #7C1851 #7C181F
triadic
#7C1851 #517C18 #18517C
tetradic
#7C1851 #7C7518 #187C43 #181F7C
square
#7C1851 #7C7518 #187C43 #181F7C
split-complementary
#7C1851 #1F7C18 #187C75
monochromatic
#1A0511 #490E30 #7C1851 #AF2272 #D83693

Accessibility & contrast

On white

9.97
#7C1851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1851
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1851#FFFFFF#000000##FFFFFF
##7C18511.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3752
Deuteranopia (green-blind)
#47494F
Tritanopia (blue-blind)
#860F32
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1851;
/* rgb */ color: rgb(124, 24, 81);
/* oklch */ color: oklch(40.0% 0.144 351.0);
Tailwind
colors: {
  custom: {
    50: '#a66181',
    500: '#7c1851',
    950: '#000000',
  },
}
SCSS
$custom: #7c1851;
$custom-light: #a66181;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1851",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 81
  },
  "hsl": {
    "h": 325.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40017,
    "c": 0.14423,
    "h": 351
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#7C1851
secondary
#3FB170
accent
#EA883D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7C1851

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

Preview Lab → · Contrast checker → · Palette generator →

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