#7C155E#7C155E

#7C155E is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.4% C 0.155 H 343.1°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#7C155E
RGBrgb(124, 21, 94)
HSLhsl(317, 71%, 28%)
HSVhsv(317, 83%, 49%)
CMYKcmyk(0%, 83.1%, 24.2%, 51.4%)
CIE-LABlab(28.46, 49.04, -16.82)
CIE-LCHlch(28.46, 51.84, 341.07°)
OKLaboklab(40.39% 0.1481 -0.0451)
OKLCHoklch(40.39% 0.155 343.1)
XYZxyz(10.6011, 5.6307, 11.1161)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C155E #157C33
analogous
#66157C #7C155E #7C152A
triadic
#7C155E #5E7C15 #155E7C
tetradic
#7C155E #7C6615 #157C33 #152A7C
square
#7C155E #7C6615 #157C33 #152A7C
split-complementary
#7C155E #2A7C15 #157C66
monochromatic
#1A0414 #480C36 #7C155E #B01E86 #DC30AA

Accessibility & contrast

On white

9.88
#7C155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7C155E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C155E
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C155E#FFFFFF#000000##FFFFFF
##7C155E1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223860
Deuteranopia (green-blind)
#42495C
Tritanopia (blue-blind)
#841538
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c155e;
/* rgb */ color: rgb(124, 21, 94);
/* oklch */ color: oklch(40.4% 0.155 343.1);
Tailwind
colors: {
  custom: {
    50: '#a6608b',
    500: '#7c155e',
    950: '#000000',
  },
}
SCSS
$custom: #7c155e;
$custom-light: #a6608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c155e",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 317.476,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40388,
    "c": 0.15479,
    "h": 343.1
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

primary
#7C155E
secondary
#3CB15E
accent
#EE6E3A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7C155E

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

Preview Lab → · Contrast checker → · Palette generator →

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