#7F136A#7F136A

#7F136A is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.4% C 0.166 H 337.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7F136A
RGBrgb(127, 19, 106)
HSLhsl(312, 74%, 29%)
HSVhsv(312, 85%, 50%)
CMYKcmyk(0%, 85%, 16.5%, 50.2%)
CIE-LABlab(29.46, 51.97, -23.00)
CIE-LCHlch(29.46, 56.83, 336.12°)
OKLaboklab(41.41% 0.1541 -0.0626)
OKLCHoklch(41.41% 0.166 337.9)
XYZxyz(11.5871, 6.0195, 14.1845)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F136A #137F28
analogous
#5E137F #7F136A #7F1334
triadic
#7F136A #6A7F13 #136A7F
tetradic
#7F136A #7F5E13 #137F28 #13347F
square
#7F136A #7F5E13 #137F28 #13347F
split-complementary
#7F136A #347F13 #137F5E
monochromatic
#1B0416 #4A0B3E #7F136A #B41B96 #E02DBD

Accessibility & contrast

On white

9.53
#7F136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7F136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F136A
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F136A#FFFFFF#000000##FFFFFF
##7F136A1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193B6C
Deuteranopia (green-blind)
#404B68
Tritanopia (blue-blind)
#861B3F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f136a;
/* rgb */ color: rgb(127, 19, 106);
/* oklch */ color: oklch(41.4% 0.166 337.9);
Tailwind
colors: {
  custom: {
    50: '#a86195',
    500: '#7f136a',
    950: '#000000',
  },
}
SCSS
$custom: #7f136a;
$custom-light: #a86195;
$custom-dark: #000000;
JSON
{
  "hex": "#7f136a",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 311.667,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4141,
    "c": 0.16629,
    "h": 337.9
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#7F136A
secondary
#39B451
accent
#F15B37
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F136A

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

Preview Lab → · Contrast checker → · Palette generator →

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