#7F1366#7F1366

#7F1366 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.2% C 0.164 H 339.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7F1366
RGBrgb(127, 19, 102)
HSLhsl(314, 74%, 29%)
HSVhsv(314, 85%, 50%)
CMYKcmyk(0%, 85%, 19.7%, 50.2%)
CIE-LABlab(29.26, 51.39, -20.74)
CIE-LCHlch(29.26, 55.42, 338.02°)
OKLaboklab(41.2% 0.1537 -0.0561)
OKLCHoklch(41.2% 0.164 339.9)
XYZxyz(11.3839, 5.9383, 13.1145)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1366 #137F2C
analogous
#62137F #7F1366 #7F1330
triadic
#7F1366 #667F13 #13667F
tetradic
#7F1366 #7F6213 #137F2C #13307F
square
#7F1366 #7F6213 #137F2C #13307F
split-complementary
#7F1366 #307F13 #137F62
monochromatic
#1B0415 #4A0B3B #7F1366 #B41B91 #E02DB6

Accessibility & contrast

On white

9.60
#7F1366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7F1366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1366
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1366#FFFFFF#000000##FFFFFF
##7F13661.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3A68
Deuteranopia (green-blind)
#414B64
Tritanopia (blue-blind)
#87183C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1366;
/* rgb */ color: rgb(127, 19, 102);
/* oklch */ color: oklch(41.2% 0.164 339.9);
Tailwind
colors: {
  custom: {
    50: '#a86092',
    500: '#7f1366',
    950: '#000000',
  },
}
SCSS
$custom: #7f1366;
$custom-light: #a86092;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1366",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 313.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41196,
    "c": 0.1636,
    "h": 339.9
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

primary
#7F1366
secondary
#39B456
accent
#F16237
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050D
muted
#7F7A7D

Preview Lab

Preview with #7F1366

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

Preview Lab → · Contrast checker → · Palette generator →

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