#7C155D#7C155D

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

Color values

HEX#7C155D
RGBrgb(124, 21, 93)
HSLhsl(318, 71%, 28%)
HSVhsv(318, 83%, 49%)
CMYKcmyk(0%, 83.1%, 25%, 51.4%)
CIE-LABlab(28.41, 48.90, -16.24)
CIE-LCHlch(28.41, 51.53, 341.63°)
OKLaboklab(40.34% 0.1479 -0.0434)
OKLCHoklch(40.34% 0.154 343.6)
XYZxyz(10.5566, 5.6129, 10.8813)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C155D #157C34
analogous
#67157C #7C155D #7C152A
triadic
#7C155D #5D7C15 #155D7C
tetradic
#7C155D #7C6715 #157C34 #152A7C
square
#7C155D #7C6715 #157C34 #152A7C
split-complementary
#7C155D #2A7C15 #157C67
monochromatic
#1A0414 #480C36 #7C155D #B01E84 #DC30A8

Accessibility & contrast

On white

9.89
#7C155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C155D
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C155D#FFFFFF#000000##FFFFFF
##7C155D1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22385F
Deuteranopia (green-blind)
#43495B
Tritanopia (blue-blind)
#851538
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c155d;
/* rgb */ color: rgb(124, 21, 93);
/* oklch */ color: oklch(40.3% 0.154 343.6);
Tailwind
colors: {
  custom: {
    50: '#a6608b',
    500: '#7c155d',
    950: '#000000',
  },
}
SCSS
$custom: #7c155d;
$custom-light: #a6608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c155d",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 318.058,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40339,
    "c": 0.15416,
    "h": 343.6
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#7C155D
secondary
#3CB15F
accent
#EE703A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7C155D

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

Preview Lab → · Contrast checker → · Palette generator →

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