#7F1362#7F1362

#7F1362 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.161 H 342.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7F1362
RGBrgb(127, 19, 98)
HSLhsl(316, 74%, 29%)
HSVhsv(316, 85%, 50%)
CMYKcmyk(0%, 85%, 22.8%, 50.2%)
CIE-LABlab(29.06, 50.84, -18.45)
CIE-LCHlch(29.06, 54.09, 340.05°)
OKLaboklab(40.99% 0.1532 -0.0496)
OKLCHoklch(40.99% 0.161 342)
XYZxyz(11.1903, 5.8608, 12.0948)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1362 #137F30
analogous
#66137F #7F1362 #7F132C
triadic
#7F1362 #627F13 #13627F
tetradic
#7F1362 #7F6613 #137F30 #132C7F
square
#7F1362 #7F6613 #137F30 #132C7F
split-complementary
#7F1362 #2C7F13 #137F66
monochromatic
#1B0415 #4A0B39 #7F1362 #B41B8B #E02DB0

Accessibility & contrast

On white

9.67
#7F1362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7F1362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1362
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1362#FFFFFF#000000##FFFFFF
##7F13621.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203964
Deuteranopia (green-blind)
#434B60
Tritanopia (blue-blind)
#87153A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1362;
/* rgb */ color: rgb(127, 19, 98);
/* oklch */ color: oklch(41.0% 0.161 342.0);
Tailwind
colors: {
  custom: {
    50: '#a8608f',
    500: '#7f1362',
    950: '#000000',
  },
}
SCSS
$custom: #7f1362;
$custom-light: #a8608f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1362",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 316.111,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4099,
    "c": 0.16099,
    "h": 342
  },
  "luminance": 0.0586
}

Semantic roles & 50–950 ramp

primary
#7F1362
secondary
#39B45A
accent
#F16937
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7F1362

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

Preview Lab → · Contrast checker → · Palette generator →

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