#7C1856#7C1856

#7C1856 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.147 H 348.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7C1856
RGBrgb(124, 24, 86)
HSLhsl(323, 68%, 29%)
HSVhsv(323, 81%, 49%)
CMYKcmyk(0%, 80.6%, 30.6%, 51.4%)
CIE-LABlab(28.41, 47.10, -11.64)
CIE-LCHlch(28.41, 48.52, 346.12°)
OKLaboklab(40.23% 0.1437 -0.0307)
OKLCHoklch(40.23% 0.147 348)
XYZxyz(10.3191, 5.6114, 9.3420)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1856 #187C3E
analogous
#70187C #7C1856 #7C1824
triadic
#7C1856 #567C18 #18567C
tetradic
#7C1856 #7C7018 #187C3E #18247C
square
#7C1856 #7C7018 #187C3E #18247C
split-complementary
#7C1856 #247C18 #187C70
monochromatic
#1A0512 #490E32 #7C1856 #AF227A #D8369B

Accessibility & contrast

On white

9.90
#7C1856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7C1856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1856
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1856#FFFFFF#000000##FFFFFF
##7C18561.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283858
Deuteranopia (green-blind)
#464954
Tritanopia (blue-blind)
#851335
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1856;
/* rgb */ color: rgb(124, 24, 86);
/* oklch */ color: oklch(40.2% 0.147 348.0);
Tailwind
colors: {
  custom: {
    50: '#a66185',
    500: '#7c1856',
    950: '#000000',
  },
}
SCSS
$custom: #7c1856;
$custom-light: #a66185;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1856",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 86
  },
  "hsl": {
    "h": 322.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40234,
    "c": 0.14697,
    "h": 348
  },
  "luminance": 0.0561
}

Semantic roles & 50–950 ramp

primary
#7C1856
secondary
#3FB16A
accent
#EA7F3D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7C1856

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

Preview Lab → · Contrast checker → · Palette generator →

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