#7F136C#7F136C

#7F136C is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.5% C 0.168 H 336.9°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7F136C
RGBrgb(127, 19, 108)
HSLhsl(311, 74%, 29%)
HSVhsv(311, 85%, 50%)
CMYKcmyk(0%, 85%, 15%, 50.2%)
CIE-LABlab(29.57, 52.26, -24.13)
CIE-LCHlch(29.57, 57.56, 335.22°)
OKLaboklab(41.52% 0.1542 -0.0658)
OKLCHoklch(41.52% 0.168 336.9)
XYZxyz(11.6923, 6.0616, 14.7387)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F136C #137F26
analogous
#5C137F #7F136C #7F1336
triadic
#7F136C #6C7F13 #136C7F
tetradic
#7F136C #7F5C13 #137F26 #13367F
square
#7F136C #7F5C13 #137F26 #13367F
split-complementary
#7F136C #367F13 #137F5C
monochromatic
#1B0417 #4A0B3F #7F136C #B41B99 #E02DC0

Accessibility & contrast

On white

9.49
#7F136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7F136C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F136C
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F136C#FFFFFF#000000##FFFFFF
##7F136C1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173B6E
Deuteranopia (green-blind)
#3F4B6A
Tritanopia (blue-blind)
#861C40
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f136c;
/* rgb */ color: rgb(127, 19, 108);
/* oklch */ color: oklch(41.5% 0.168 336.9);
Tailwind
colors: {
  custom: {
    50: '#a86196',
    500: '#7f136c',
    950: '#000000',
  },
}
SCSS
$custom: #7f136c;
$custom-light: #a86196;
$custom-dark: #000000;
JSON
{
  "hex": "#7f136c",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 310.556,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4152,
    "c": 0.16766,
    "h": 336.9
  },
  "luminance": 0.0606
}

Semantic roles & 50–950 ramp

primary
#7F136C
secondary
#39B44F
accent
#F15837
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F136C

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

Preview Lab → · Contrast checker → · Palette generator →

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