#7C1858#7C1858

#7C1858 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.148 H 346.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7C1858
RGBrgb(124, 24, 88)
HSLhsl(322, 68%, 29%)
HSVhsv(322, 81%, 49%)
CMYKcmyk(0%, 80.6%, 29%, 51.4%)
CIE-LABlab(28.50, 47.36, -12.83)
CIE-LCHlch(28.50, 49.07, 344.85°)
OKLaboklab(40.33% 0.1442 -0.0339)
OKLCHoklch(40.33% 0.148 346.8)
XYZxyz(10.4008, 5.6441, 9.7723)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1858 #187C3C
analogous
#6E187C #7C1858 #7C1826
triadic
#7C1858 #587C18 #18587C
tetradic
#7C1858 #7C6E18 #187C3C #18267C
square
#7C1858 #7C6E18 #187C3C #18267C
split-complementary
#7C1858 #267C18 #187C6E
monochromatic
#1A0512 #490E34 #7C1858 #AF227C #D8369E

Accessibility & contrast

On white

9.87
#7C1858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7C1858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1858
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1858#FFFFFF#000000##FFFFFF
##7C18581.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27385A
Deuteranopia (green-blind)
#454956
Tritanopia (blue-blind)
#851436
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1858;
/* rgb */ color: rgb(124, 24, 88);
/* oklch */ color: oklch(40.3% 0.148 346.8);
Tailwind
colors: {
  custom: {
    50: '#a66187',
    500: '#7c1858',
    950: '#000000',
  },
}
SCSS
$custom: #7c1858;
$custom-light: #a66187;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1858",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 88
  },
  "hsl": {
    "h": 321.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40325,
    "c": 0.14813,
    "h": 346.8
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#7C1858
secondary
#3FB168
accent
#EA7C3D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7C1858

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

Preview Lab → · Contrast checker → · Palette generator →

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