#7C155C#7C155C

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

Color values

HEX#7C155C
RGBrgb(124, 21, 92)
HSLhsl(319, 71%, 28%)
HSVhsv(319, 83%, 49%)
CMYKcmyk(0%, 83.1%, 25.8%, 51.4%)
CIE-LABlab(28.37, 48.77, -15.65)
CIE-LCHlch(28.37, 51.22, 342.21°)
OKLaboklab(40.29% 0.1477 -0.0418)
OKLCHoklch(40.29% 0.154 344.2)
XYZxyz(10.5126, 5.5953, 10.6495)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C155C #157C35
analogous
#68157C #7C155C #7C1528
triadic
#7C155C #5C7C15 #155C7C
tetradic
#7C155C #7C6815 #157C35 #15287C
square
#7C155C #7C6815 #157C35 #15287C
split-complementary
#7C155C #287C15 #157C68
monochromatic
#1A0413 #480C35 #7C155C #B01E83 #DC30A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C155C#FFFFFF#000000##FFFFFF
##7C155C1.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)
#23385E
Deuteranopia (green-blind)
#43495A
Tritanopia (blue-blind)
#851437
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c155c;
/* rgb */ color: rgb(124, 21, 92);
/* oklch */ color: oklch(40.3% 0.154 344.2);
Tailwind
colors: {
  custom: {
    50: '#a6608a',
    500: '#7c155c',
    950: '#000000',
  },
}
SCSS
$custom: #7c155c;
$custom-light: #a6608a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c155c",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 318.641,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4029,
    "c": 0.15354,
    "h": 344.2
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#7C155C
secondary
#3CB160
accent
#EE723A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7C155C

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

Preview Lab → · Contrast checker → · Palette generator →

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