#7C135F#7C135F

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

Color values

HEX#7C135F
RGBrgb(124, 19, 95)
HSLhsl(317, 73%, 28%)
HSVhsv(317, 85%, 49%)
CMYKcmyk(0%, 84.7%, 23.4%, 51.4%)
CIE-LABlab(28.32, 49.71, -17.69)
CIE-LCHlch(28.32, 52.76, 340.42°)
OKLaboklab(40.3% 0.1499 -0.0475)
OKLCHoklch(40.3% 0.157 342.4)
XYZxyz(10.6110, 5.5782, 11.3421)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C135F #137C30
analogous
#64137C #7C135F #7C132B
triadic
#7C135F #5F7C13 #135F7C
tetradic
#7C135F #7C6413 #137C30 #132B7C
square
#7C135F #7C6413 #137C30 #132B7C
split-complementary
#7C135F #2B7C13 #137C64
monochromatic
#1B0414 #470B36 #7C135F #B11B88 #DF2BAD

Accessibility & contrast

On white

9.93
#7C135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7C135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C135F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C135F#FFFFFF#000000##FFFFFF
##7C135F1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203861
Deuteranopia (green-blind)
#41495D
Tritanopia (blue-blind)
#841439
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c135f;
/* rgb */ color: rgb(124, 19, 95);
/* oklch */ color: oklch(40.3% 0.157 342.4);
Tailwind
colors: {
  custom: {
    50: '#a6608c',
    500: '#7c135f',
    950: '#000000',
  },
}
SCSS
$custom: #7c135f;
$custom-light: #a6608c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c135f",
  "rgb": {
    "r": 124,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 316.571,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40304,
    "c": 0.15725,
    "h": 342.4
  },
  "luminance": 0.05577
}

Semantic roles & 50–950 ramp

primary
#7C135F
secondary
#39B25A
accent
#F06B38
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7C135F

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

Preview Lab → · Contrast checker → · Palette generator →

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