#7C154E#7C154E

#7C154E is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.146 H 352.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#7C154E
RGBrgb(124, 21, 78)
HSLhsl(327, 71%, 28%)
HSVhsv(327, 83%, 49%)
CMYKcmyk(0%, 83.1%, 37.1%, 51.4%)
CIE-LABlab(27.77, 47.03, -7.31)
CIE-LCHlch(27.77, 47.59, 351.17°)
OKLaboklab(39.66% 0.1445 -0.0188)
OKLCHoklch(39.66% 0.146 352.6)
XYZxyz(9.9561, 5.3727, 7.7190)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C154E #157C43
analogous
#76157C #7C154E #7C151B
triadic
#7C154E #4E7C15 #154E7C
tetradic
#7C154E #7C7615 #157C43 #151B7C
square
#7C154E #7C7615 #157C43 #151B7C
split-complementary
#7C154E #1B7C15 #157C76
monochromatic
#1A0410 #480C2D #7C154E #B01E6F #DC308F

Accessibility & contrast

On white

10.12
#7C154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7C154E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C154E
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C154E#FFFFFF#000000##FFFFFF
##7C154E1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A364F
Deuteranopia (green-blind)
#47484C
Tritanopia (blue-blind)
#860830
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c154e;
/* rgb */ color: rgb(124, 21, 78);
/* oklch */ color: oklch(39.7% 0.146 352.6);
Tailwind
colors: {
  custom: {
    50: '#a6607f',
    500: '#7c154e',
    950: '#000000',
  },
}
SCSS
$custom: #7c154e;
$custom-light: #a6607f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c154e",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 326.796,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39663,
    "c": 0.1457,
    "h": 352.6
  },
  "luminance": 0.05371
}

Semantic roles & 50–950 ramp

primary
#7C154E
secondary
#3CB170
accent
#EE8A3A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7C154E

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

Preview Lab → · Contrast checker → · Palette generator →

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