#7C135B#7C135B

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

Color values

HEX#7C135B
RGBrgb(124, 19, 91)
HSLhsl(319, 73%, 28%)
HSVhsv(319, 85%, 49%)
CMYKcmyk(0%, 84.7%, 26.6%, 51.4%)
CIE-LABlab(28.13, 49.18, -15.36)
CIE-LCHlch(28.13, 51.52, 342.66°)
OKLaboklab(40.11% 0.1492 -0.041)
OKLCHoklch(40.11% 0.155 344.7)
XYZxyz(10.4338, 5.5073, 10.4091)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C135B #137C34
analogous
#68137C #7C135B #7C1326
triadic
#7C135B #5B7C13 #135B7C
tetradic
#7C135B #7C6813 #137C34 #13267C
square
#7C135B #7C6813 #137C34 #13267C
split-complementary
#7C135B #267C13 #137C68
monochromatic
#1B0413 #470B34 #7C135B #B11B82 #DF2BA6

Accessibility & contrast

On white

9.99
#7C135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C135B
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C135B#FFFFFF#000000##FFFFFF
##7C135B1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22375D
Deuteranopia (green-blind)
#434959
Tritanopia (blue-blind)
#851136
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c135b;
/* rgb */ color: rgb(124, 19, 91);
/* oklch */ color: oklch(40.1% 0.155 344.7);
Tailwind
colors: {
  custom: {
    50: '#a65f89',
    500: '#7c135b',
    950: '#000000',
  },
}
SCSS
$custom: #7c135b;
$custom-light: #a65f89;
$custom-dark: #000000;
JSON
{
  "hex": "#7c135b",
  "rgb": {
    "r": 124,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 318.857,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40107,
    "c": 0.15475,
    "h": 344.7
  },
  "luminance": 0.05506
}

Semantic roles & 50–950 ramp

primary
#7C135B
secondary
#39B25F
accent
#F07238
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7C135B

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

Preview Lab → · Contrast checker → · Palette generator →

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