#7C1462#7C1462

#7C1462 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.158 H 340.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7C1462
RGBrgb(124, 20, 98)
HSLhsl(315, 72%, 28%)
HSVhsv(315, 84%, 49%)
CMYKcmyk(0%, 83.9%, 21%, 51.4%)
CIE-LABlab(28.56, 49.86, -19.27)
CIE-LCHlch(28.56, 53.46, 338.87°)
OKLaboklab(40.52% 0.1495 -0.052)
OKLCHoklch(40.52% 0.158 340.8)
XYZxyz(10.7673, 5.6684, 12.0800)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1462 #147C2E
analogous
#62147C #7C1462 #7C142E
triadic
#7C1462 #627C14 #14627C
tetradic
#7C1462 #7C6214 #147C2E #142E7C
square
#7C1462 #7C6214 #147C2E #142E7C
split-complementary
#7C1462 #2E7C14 #147C62
monochromatic
#1A0415 #470B38 #7C1462 #B11D8C #DD2DB1

Accessibility & contrast

On white

9.84
#7C1462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1462
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1462#FFFFFF#000000##FFFFFF
##7C14621.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3964
Deuteranopia (green-blind)
#414960
Tritanopia (blue-blind)
#84173A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1462;
/* rgb */ color: rgb(124, 20, 98);
/* oklch */ color: oklch(40.5% 0.158 340.8);
Tailwind
colors: {
  custom: {
    50: '#a6608f',
    500: '#7c1462',
    950: '#000000',
  },
}
SCSS
$custom: #7c1462;
$custom-light: #a6608f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1462",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 98
  },
  "hsl": {
    "h": 315,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40523,
    "c": 0.15831,
    "h": 340.8
  },
  "luminance": 0.05667
}

Semantic roles & 50–950 ramp

primary
#7C1462
secondary
#3AB258
accent
#EF6639
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7C1462

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

Preview Lab → · Contrast checker → · Palette generator →

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