#7F1367#7F1367

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

Color values

HEX#7F1367
RGBrgb(127, 19, 103)
HSLhsl(313, 74%, 29%)
HSVhsv(313, 85%, 50%)
CMYKcmyk(0%, 85%, 18.9%, 50.2%)
CIE-LABlab(29.31, 51.54, -21.31)
CIE-LCHlch(29.31, 55.77, 337.53°)
OKLaboklab(41.25% 0.1538 -0.0577)
OKLCHoklch(41.25% 0.164 339.4)
XYZxyz(11.4338, 5.9582, 13.3772)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1367 #137F2B
analogous
#61137F #7F1367 #7F1331
triadic
#7F1367 #677F13 #13677F
tetradic
#7F1367 #7F6113 #137F2B #13317F
square
#7F1367 #7F6113 #137F2B #13317F
split-complementary
#7F1367 #317F13 #137F61
monochromatic
#1B0416 #4A0B3C #7F1367 #B41B92 #E02DB8

Accessibility & contrast

On white

9.58
#7F1367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1367
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1367#FFFFFF#000000##FFFFFF
##7F13671.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3A69
Deuteranopia (green-blind)
#414B65
Tritanopia (blue-blind)
#87193D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1367;
/* rgb */ color: rgb(127, 19, 103);
/* oklch */ color: oklch(41.2% 0.164 339.4);
Tailwind
colors: {
  custom: {
    50: '#a86092',
    500: '#7f1367',
    950: '#000000',
  },
}
SCSS
$custom: #7f1367;
$custom-light: #a86092;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1367",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 313.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41249,
    "c": 0.16426,
    "h": 339.4
  },
  "luminance": 0.05957
}

Semantic roles & 50–950 ramp

primary
#7F1367
secondary
#39B455
accent
#F16037
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F1367

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

Preview Lab → · Contrast checker → · Palette generator →

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