#7C135E#7C135E

#7C135E is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.157 H 343.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7C135E
RGBrgb(124, 19, 94)
HSLhsl(317, 73%, 28%)
HSVhsv(317, 85%, 49%)
CMYKcmyk(0%, 84.7%, 24.2%, 51.4%)
CIE-LABlab(28.27, 49.58, -17.11)
CIE-LCHlch(28.27, 52.44, 340.96°)
OKLaboklab(40.25% 0.1497 -0.0459)
OKLCHoklch(40.25% 0.157 343)
XYZxyz(10.5659, 5.5601, 11.1043)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C135E #137C31
analogous
#65137C #7C135E #7C1329
triadic
#7C135E #5E7C13 #135E7C
tetradic
#7C135E #7C6513 #137C31 #13297C
square
#7C135E #7C6513 #137C31 #13297C
split-complementary
#7C135E #297C13 #137C65
monochromatic
#1B0414 #470B36 #7C135E #B11B86 #DF2BAB

Accessibility & contrast

On white

9.94
#7C135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7C135E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C135E
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C135E#FFFFFF#000000##FFFFFF
##7C135E1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c135e;
/* rgb */ color: rgb(124, 19, 94);
/* oklch */ color: oklch(40.3% 0.157 343.0);
Tailwind
colors: {
  custom: {
    50: '#a6608c',
    500: '#7c135e',
    950: '#000000',
  },
}
SCSS
$custom: #7c135e;
$custom-light: #a6608c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c135e",
  "rgb": {
    "r": 124,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 317.143,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40254,
    "c": 0.15661,
    "h": 343
  },
  "luminance": 0.05559
}

Semantic roles & 50–950 ramp

primary
#7C135E
secondary
#39B25C
accent
#F06C38
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7C135E

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

Preview Lab → · Contrast checker → · Palette generator →

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