#7C155F#7C155F

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

Color values

HEX#7C155F
RGBrgb(124, 21, 95)
HSLhsl(317, 71%, 28%)
HSVhsv(317, 83%, 49%)
CMYKcmyk(0%, 83.1%, 23.4%, 51.4%)
CIE-LABlab(28.51, 49.17, -17.40)
CIE-LCHlch(28.51, 52.16, 340.52°)
OKLaboklab(40.44% 0.1483 -0.0467)
OKLCHoklch(40.44% 0.155 342.5)
XYZxyz(10.6463, 5.6488, 11.3539)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C155F #157C32
analogous
#65157C #7C155F #7C152B
triadic
#7C155F #5F7C15 #155F7C
tetradic
#7C155F #7C6515 #157C32 #152B7C
square
#7C155F #7C6515 #157C32 #152B7C
split-complementary
#7C155F #2B7C15 #157C65
monochromatic
#1A0414 #480C37 #7C155F #B01E87 #DC30AB

Accessibility & contrast

On white

9.86
#7C155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C155F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C155F#FFFFFF#000000##FFFFFF
##7C155F1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213961
Deuteranopia (green-blind)
#42495D
Tritanopia (blue-blind)
#841639
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c155f;
/* rgb */ color: rgb(124, 21, 95);
/* oklch */ color: oklch(40.4% 0.155 342.5);
Tailwind
colors: {
  custom: {
    50: '#a6608c',
    500: '#7c155f',
    950: '#000000',
  },
}
SCSS
$custom: #7c155f;
$custom-light: #a6608c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c155f",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 316.893,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40438,
    "c": 0.15543,
    "h": 342.5
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#7C155F
secondary
#3CB15D
accent
#EE6D3A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7C155F

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

Preview Lab → · Contrast checker → · Palette generator →

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