#7F135E#7F135E

#7F135E is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.158 H 344.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7F135E
RGBrgb(127, 19, 94)
HSLhsl(318, 74%, 29%)
HSVhsv(318, 85%, 50%)
CMYKcmyk(0%, 85%, 26%, 50.2%)
CIE-LABlab(28.87, 50.31, -16.14)
CIE-LCHlch(28.87, 52.83, 342.21°)
OKLaboklab(40.79% 0.1525 -0.0431)
OKLCHoklch(40.79% 0.158 344.2)
XYZxyz(11.0061, 5.7872, 11.1249)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F135E #137F34
analogous
#6A137F #7F135E #7F1328
triadic
#7F135E #5E7F13 #135E7F
tetradic
#7F135E #7F6A13 #137F34 #13287F
square
#7F135E #7F6A13 #137F34 #13287F
split-complementary
#7F135E #287F13 #137F6A
monochromatic
#1B0414 #4A0B37 #7F135E #B41B85 #E02DA9

Accessibility & contrast

On white

9.73
#7F135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7F135E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F135E
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F135E#FFFFFF#000000##FFFFFF
##7F135E1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223960
Deuteranopia (green-blind)
#444A5C
Tritanopia (blue-blind)
#881238
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f135e;
/* rgb */ color: rgb(127, 19, 94);
/* oklch */ color: oklch(40.8% 0.158 344.2);
Tailwind
colors: {
  custom: {
    50: '#a8608b',
    500: '#7f135e',
    950: '#000000',
  },
}
SCSS
$custom: #7f135e;
$custom-light: #a8608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f135e",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 318.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40791,
    "c": 0.15849,
    "h": 344.2
  },
  "luminance": 0.05786
}

Semantic roles & 50–950 ramp

primary
#7F135E
secondary
#39B45F
accent
#F17037
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7F135E

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

Preview Lab → · Contrast checker → · Palette generator →

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