#7C1E58#7C1E58

#7C1E58 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.141 H 347.3°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7C1E58
RGBrgb(124, 30, 88)
HSLhsl(323, 61%, 30%)
HSVhsv(323, 76%, 49%)
CMYKcmyk(0%, 75.8%, 29%, 51.4%)
CIE-LABlab(29.21, 45.34, -11.74)
CIE-LCHlch(29.21, 46.84, 345.48°)
OKLaboklab(40.84% 0.1379 -0.031)
OKLCHoklch(40.84% 0.141 347.3)
XYZxyz(10.5384, 5.9194, 9.8182)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E58 #1E7C42
analogous
#711E7C #7C1E58 #7C1E29
triadic
#7C1E58 #587C1E #1E587C
tetradic
#7C1E58 #7C711E #1E7C42 #1E297C
square
#7C1E58 #7C711E #1E7C42 #1E297C
split-complementary
#7C1E58 #297C1E #1E7C71
monochromatic
#190612 #4B1235 #7C1E58 #AD2A7B #D1439B

Accessibility & contrast

On white

9.62
#7C1E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7C1E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1E58
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E58#FFFFFF#000000##FFFFFF
##7C1E581.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A5A
Deuteranopia (green-blind)
#474B56
Tritanopia (blue-blind)
#851B38
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1e58;
/* rgb */ color: rgb(124, 30, 88);
/* oklch */ color: oklch(40.8% 0.141 347.3);
Tailwind
colors: {
  custom: {
    50: '#a66387',
    500: '#7c1e58',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e58;
$custom-light: #a66387;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e58",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 88
  },
  "hsl": {
    "h": 322.979,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40843,
    "c": 0.14133,
    "h": 347.3
  },
  "luminance": 0.05918
}

Semantic roles & 50–950 ramp

primary
#7C1E58
secondary
#46AF6F
accent
#E48144
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7C1E58

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

Preview Lab → · Contrast checker → · Palette generator →

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