#7C145E#7C145E

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

Color values

HEX#7C145E
RGBrgb(124, 20, 94)
HSLhsl(317, 72%, 28%)
HSVhsv(317, 84%, 49%)
CMYKcmyk(0%, 83.9%, 24.2%, 51.4%)
CIE-LABlab(28.37, 49.31, -16.96)
CIE-LCHlch(28.37, 52.15, 341.01°)
OKLaboklab(40.32% 0.1489 -0.0455)
OKLCHoklch(40.32% 0.156 343)
XYZxyz(10.5831, 5.5947, 11.1101)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C145E #147C32
analogous
#66147C #7C145E #7C142A
triadic
#7C145E #5E7C14 #145E7C
tetradic
#7C145E #7C6614 #147C32 #142A7C
square
#7C145E #7C6614 #147C32 #142A7C
split-complementary
#7C145E #2A7C14 #147C66
monochromatic
#1A0414 #470B36 #7C145E #B11D86 #DD2DAA

Accessibility & contrast

On white

9.91
#7C145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C145E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C145E#FFFFFF#000000##FFFFFF
##7C145E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213860
Deuteranopia (green-blind)
#42495C
Tritanopia (blue-blind)
#841438
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c145e;
/* rgb */ color: rgb(124, 20, 94);
/* oklch */ color: oklch(40.3% 0.156 343.0);
Tailwind
colors: {
  custom: {
    50: '#a6608b',
    500: '#7c145e',
    950: '#000000',
  },
}
SCSS
$custom: #7c145e;
$custom-light: #a6608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c145e",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 317.308,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4032,
    "c": 0.15572,
    "h": 343
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#7C145E
secondary
#3AB25D
accent
#EF6D39
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7C145E

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

Preview Lab → · Contrast checker → · Palette generator →

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