#7C155B#7C155B

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

Color values

HEX#7C155B
RGBrgb(124, 21, 91)
HSLhsl(319, 71%, 28%)
HSVhsv(319, 83%, 49%)
CMYKcmyk(0%, 83.1%, 26.6%, 51.4%)
CIE-LABlab(28.32, 48.64, -15.07)
CIE-LCHlch(28.32, 50.92, 342.79°)
OKLaboklab(40.24% 0.1475 -0.0402)
OKLCHoklch(40.24% 0.153 344.8)
XYZxyz(10.4691, 5.5779, 10.4208)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C155B #157C36
analogous
#69157C #7C155B #7C1528
triadic
#7C155B #5B7C15 #155B7C
tetradic
#7C155B #7C6915 #157C36 #15287C
square
#7C155B #7C6915 #157C36 #15287C
split-complementary
#7C155B #287C15 #157C69
monochromatic
#1A0413 #480C35 #7C155B #B01E81 #DC30A5

Accessibility & contrast

On white

9.93
#7C155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C155B
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C155B#FFFFFF#000000##FFFFFF
##7C155B1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385D
Deuteranopia (green-blind)
#434959
Tritanopia (blue-blind)
#851337
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c155b;
/* rgb */ color: rgb(124, 21, 91);
/* oklch */ color: oklch(40.2% 0.153 344.8);
Tailwind
colors: {
  custom: {
    50: '#a66089',
    500: '#7c155b',
    950: '#000000',
  },
}
SCSS
$custom: #7c155b;
$custom-light: #a66089;
$custom-dark: #000000;
JSON
{
  "hex": "#7c155b",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 319.223,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40242,
    "c": 0.15292,
    "h": 344.8
  },
  "luminance": 0.05577
}

Semantic roles & 50–950 ramp

primary
#7C155B
secondary
#3CB161
accent
#EE743A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7C155B

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

Preview Lab → · Contrast checker → · Palette generator →

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