#7C1854#7C1854

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

Color values

HEX#7C1854
RGBrgb(124, 24, 84)
HSLhsl(324, 68%, 29%)
HSVhsv(324, 81%, 49%)
CMYKcmyk(0%, 80.6%, 32.3%, 51.4%)
CIE-LABlab(28.33, 46.85, -10.45)
CIE-LCHlch(28.33, 48.00, 347.43°)
OKLaboklab(40.15% 0.1432 -0.0274)
OKLCHoklch(40.15% 0.146 349.2)
XYZxyz(10.2396, 5.5797, 8.9235)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1854 #187C40
analogous
#72187C #7C1854 #7C1822
triadic
#7C1854 #547C18 #18547C
tetradic
#7C1854 #7C7218 #187C40 #18227C
square
#7C1854 #7C7218 #187C40 #18227C
split-complementary
#7C1854 #227C18 #187C72
monochromatic
#1A0511 #490E31 #7C1854 #AF2277 #D83697

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1854#FFFFFF#000000##FFFFFF
##7C18541.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293856
Deuteranopia (green-blind)
#464952
Tritanopia (blue-blind)
#861134
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1854;
/* rgb */ color: rgb(124, 24, 84);
/* oklch */ color: oklch(40.1% 0.146 349.2);
Tailwind
colors: {
  custom: {
    50: '#a66184',
    500: '#7c1854',
    950: '#000000',
  },
}
SCSS
$custom: #7c1854;
$custom-light: #a66184;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1854",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 84
  },
  "hsl": {
    "h": 324,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40146,
    "c": 0.14584,
    "h": 349.2
  },
  "luminance": 0.05578
}

Semantic roles & 50–950 ramp

primary
#7C1854
secondary
#3FB16D
accent
#EA833D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7C1854

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

Preview Lab → · Contrast checker → · Palette generator →

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