#7F136D#7F136D

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

Color values

HEX#7F136D
RGBrgb(127, 19, 109)
HSLhsl(310, 74%, 29%)
HSVhsv(310, 85%, 50%)
CMYKcmyk(0%, 85%, 14.2%, 50.2%)
CIE-LABlab(29.62, 52.41, -24.68)
CIE-LCHlch(29.62, 57.93, 334.78°)
OKLaboklab(41.58% 0.1543 -0.0674)
OKLCHoklch(41.58% 0.168 336.4)
XYZxyz(11.7458, 6.0830, 15.0206)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F136D #137F25
analogous
#5B137F #7F136D #7F1337
triadic
#7F136D #6D7F13 #136D7F
tetradic
#7F136D #7F5B13 #137F25 #13377F
square
#7F136D #7F5B13 #137F25 #13377F
split-complementary
#7F136D #377F13 #137F5B
monochromatic
#1B0417 #4A0B3F #7F136D #B41B9B #E02DC2

Accessibility & contrast

On white

9.47
#7F136D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7F136D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F136D
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F136D#FFFFFF#000000##FFFFFF
##7F136D1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163C6F
Deuteranopia (green-blind)
#3E4B6B
Tritanopia (blue-blind)
#861D40
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f136d;
/* rgb */ color: rgb(127, 19, 109);
/* oklch */ color: oklch(41.6% 0.168 336.4);
Tailwind
colors: {
  custom: {
    50: '#a86197',
    500: '#7f136d',
    950: '#000000',
  },
}
SCSS
$custom: #7f136d;
$custom-light: #a86197;
$custom-dark: #000000;
JSON
{
  "hex": "#7f136d",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 109
  },
  "hsl": {
    "h": 310,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41576,
    "c": 0.16837,
    "h": 336.4
  },
  "luminance": 0.06082
}

Semantic roles & 50–950 ramp

primary
#7F136D
secondary
#39B44E
accent
#F15637
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F136D

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

Preview Lab → · Contrast checker → · Palette generator →

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