#7C146A#7C146A

#7C146A is a dark, vivid pink. Relative luminance 0.058; OKLCH L 41.0% C 0.164 H 336.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7C146A
RGBrgb(124, 20, 106)
HSLhsl(310, 72%, 28%)
HSVhsv(310, 84%, 49%)
CMYKcmyk(0%, 83.9%, 14.5%, 51.4%)
CIE-LABlab(28.97, 51.02, -23.81)
CIE-LCHlch(28.97, 56.31, 334.98°)
OKLaboklab(40.95% 0.1503 -0.065)
OKLCHoklch(40.95% 0.164 336.6)
XYZxyz(11.1641, 5.8271, 14.1697)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C146A #147C26
analogous
#5A147C #7C146A #7C1436
triadic
#7C146A #6A7C14 #146A7C
tetradic
#7C146A #7C5A14 #147C26 #14367C
square
#7C146A #7C5A14 #147C26 #14367C
split-complementary
#7C146A #367C14 #147C5A
monochromatic
#1A0417 #470B3D #7C146A #B11D97 #DD2DBF

Accessibility & contrast

On white

9.70
#7C146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7C146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C146A
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C146A#FFFFFF#000000##FFFFFF
##7C146A1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173A6C
Deuteranopia (green-blind)
#3D4A68
Tritanopia (blue-blind)
#831D3F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c146a;
/* rgb */ color: rgb(124, 20, 106);
/* oklch */ color: oklch(41.0% 0.164 336.6);
Tailwind
colors: {
  custom: {
    50: '#a66095',
    500: '#7c146a',
    950: '#000000',
  },
}
SCSS
$custom: #7c146a;
$custom-light: #a66095;
$custom-dark: #000000;
JSON
{
  "hex": "#7c146a",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 310.385,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40952,
    "c": 0.16377,
    "h": 336.6
  },
  "luminance": 0.05826
}

Semantic roles & 50–950 ramp

primary
#7C146A
secondary
#3AB24F
accent
#EF5839
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7C146A

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

Preview Lab → · Contrast checker → · Palette generator →

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