#7F136B#7F136B

#7F136B is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.5% C 0.167 H 337.4°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#7F136B
RGBrgb(127, 19, 107)
HSLhsl(311, 74%, 29%)
HSVhsv(311, 85%, 50%)
CMYKcmyk(0%, 85%, 15.7%, 50.2%)
CIE-LABlab(29.51, 52.11, -23.57)
CIE-LCHlch(29.51, 57.19, 335.67°)
OKLaboklab(41.47% 0.1542 -0.0642)
OKLCHoklch(41.47% 0.167 337.4)
XYZxyz(11.6394, 6.0405, 14.4600)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F136B #137F27
analogous
#5D137F #7F136B #7F1335
triadic
#7F136B #6B7F13 #136B7F
tetradic
#7F136B #7F5D13 #137F27 #13357F
square
#7F136B #7F5D13 #137F27 #13357F
split-complementary
#7F136B #357F13 #137F5D
monochromatic
#1B0416 #4A0B3E #7F136B #B41B98 #E02DBE

Accessibility & contrast

On white

9.51
#7F136B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F136B
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F136B#FFFFFF#000000##FFFFFF
##7F136B1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183B6D
Deuteranopia (green-blind)
#3F4B69
Tritanopia (blue-blind)
#861B3F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f136b;
/* rgb */ color: rgb(127, 19, 107);
/* oklch */ color: oklch(41.5% 0.167 337.4);
Tailwind
colors: {
  custom: {
    50: '#a86195',
    500: '#7f136b',
    950: '#000000',
  },
}
SCSS
$custom: #7f136b;
$custom-light: #a86195;
$custom-dark: #000000;
JSON
{
  "hex": "#7f136b",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 107
  },
  "hsl": {
    "h": 311.111,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41465,
    "c": 0.16698,
    "h": 337.4
  },
  "luminance": 0.06039
}

Semantic roles & 50–950 ramp

primary
#7F136B
secondary
#39B450
accent
#F15A37
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F136B

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

Preview Lab → · Contrast checker → · Palette generator →

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