#7C135A#7C135A

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

Color values

HEX#7C135A
RGBrgb(124, 19, 90)
HSLhsl(319, 73%, 28%)
HSVhsv(319, 85%, 49%)
CMYKcmyk(0%, 84.7%, 27.4%, 51.4%)
CIE-LABlab(28.09, 49.05, -14.77)
CIE-LCHlch(28.09, 51.22, 343.24°)
OKLaboklab(40.06% 0.149 -0.0393)
OKLCHoklch(40.06% 0.154 345.2)
XYZxyz(10.3910, 5.4902, 10.1834)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C135A #137C35
analogous
#6A137C #7C135A #7C1325
triadic
#7C135A #5A7C13 #135A7C
tetradic
#7C135A #7C6A13 #137C35 #13257C
square
#7C135A #7C6A13 #137C35 #13257C
split-complementary
#7C135A #257C13 #137C6A
monochromatic
#1B0413 #470B33 #7C135A #B11B81 #DF2BA4

Accessibility & contrast

On white

10.01
#7C135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C135A
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C135A#FFFFFF#000000##FFFFFF
##7C135A1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23375C
Deuteranopia (green-blind)
#434858
Tritanopia (blue-blind)
#851036
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c135a;
/* rgb */ color: rgb(124, 19, 90);
/* oklch */ color: oklch(40.1% 0.154 345.2);
Tailwind
colors: {
  custom: {
    50: '#a65f88',
    500: '#7c135a',
    950: '#000000',
  },
}
SCSS
$custom: #7c135a;
$custom-light: #a65f88;
$custom-dark: #000000;
JSON
{
  "hex": "#7c135a",
  "rgb": {
    "r": 124,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 319.429,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40059,
    "c": 0.15414,
    "h": 345.2
  },
  "luminance": 0.05489
}

Semantic roles & 50–950 ramp

primary
#7C135A
secondary
#39B260
accent
#F07338
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7C135A

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

Preview Lab → · Contrast checker → · Palette generator →

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