#7C155A#7C155A

#7C155A is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.152 H 345.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7C155A
RGBrgb(124, 21, 90)
HSLhsl(320, 71%, 28%)
HSVhsv(320, 83%, 49%)
CMYKcmyk(0%, 83.1%, 27.4%, 51.4%)
CIE-LABlab(28.28, 48.50, -14.48)
CIE-LCHlch(28.28, 50.62, 343.38°)
OKLaboklab(40.2% 0.1474 -0.0385)
OKLCHoklch(40.2% 0.152 345.4)
XYZxyz(10.4263, 5.5608, 10.1951)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C155A #157C37
analogous
#6A157C #7C155A #7C1526
triadic
#7C155A #5A7C15 #155A7C
tetradic
#7C155A #7C6A15 #157C37 #15267C
square
#7C155A #7C6A15 #157C37 #15267C
split-complementary
#7C155A #267C15 #157C6A
monochromatic
#1A0413 #480C34 #7C155A #B01E80 #DC30A3

Accessibility & contrast

On white

9.94
#7C155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7C155A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C155A
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C155A#FFFFFF#000000##FFFFFF
##7C155A1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24385C
Deuteranopia (green-blind)
#444958
Tritanopia (blue-blind)
#851236
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c155a;
/* rgb */ color: rgb(124, 21, 90);
/* oklch */ color: oklch(40.2% 0.152 345.4);
Tailwind
colors: {
  custom: {
    50: '#a66088',
    500: '#7c155a',
    950: '#000000',
  },
}
SCSS
$custom: #7c155a;
$custom-light: #a66088;
$custom-dark: #000000;
JSON
{
  "hex": "#7c155a",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 319.806,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40195,
    "c": 0.15231,
    "h": 345.4
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#7C155A
secondary
#3CB162
accent
#EE753A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7C155A

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

Preview Lab → · Contrast checker → · Palette generator →

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