#7C135C#7C135C

#7C135C is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.2% C 0.155 H 344.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#7C135C
RGBrgb(124, 19, 92)
HSLhsl(318, 73%, 28%)
HSVhsv(318, 85%, 49%)
CMYKcmyk(0%, 84.7%, 25.8%, 51.4%)
CIE-LABlab(28.18, 49.31, -15.94)
CIE-LCHlch(28.18, 51.82, 342.08°)
OKLaboklab(40.16% 0.1494 -0.0426)
OKLCHoklch(40.16% 0.155 344.1)
XYZxyz(10.4773, 5.5247, 10.6378)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C135C #137C33
analogous
#67137C #7C135C #7C1327
triadic
#7C135C #5C7C13 #135C7C
tetradic
#7C135C #7C6713 #137C33 #13277C
square
#7C135C #7C6713 #137C33 #13277C
split-complementary
#7C135C #277C13 #137C67
monochromatic
#1B0414 #470B35 #7C135C #B11B83 #DF2BA8

Accessibility & contrast

On white

9.98
#7C135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7C135C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C135C
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C135C#FFFFFF#000000##FFFFFF
##7C135C1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22375E
Deuteranopia (green-blind)
#42495A
Tritanopia (blue-blind)
#851237
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c135c;
/* rgb */ color: rgb(124, 19, 92);
/* oklch */ color: oklch(40.2% 0.155 344.1);
Tailwind
colors: {
  custom: {
    50: '#a65f8a',
    500: '#7c135c',
    950: '#000000',
  },
}
SCSS
$custom: #7c135c;
$custom-light: #a65f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c135c",
  "rgb": {
    "r": 124,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 318.286,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40155,
    "c": 0.15536,
    "h": 344.1
  },
  "luminance": 0.05524
}

Semantic roles & 50–950 ramp

primary
#7C135C
secondary
#39B25E
accent
#F07038
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7C135C

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

Preview Lab → · Contrast checker → · Palette generator →

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