#7F1267#7F1267

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

Color values

HEX#7F1267
RGBrgb(127, 18, 103)
HSLhsl(313, 75%, 28%)
HSVhsv(313, 86%, 50%)
CMYKcmyk(0%, 85.8%, 18.9%, 50.2%)
CIE-LABlab(29.22, 51.78, -21.44)
CIE-LCHlch(29.22, 56.04, 337.51°)
OKLaboklab(41.19% 0.1545 -0.0581)
OKLCHoklch(41.19% 0.165 339.4)
XYZxyz(11.4172, 5.9251, 13.3717)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1267 #127F2A
analogous
#60127F #7F1267 #7F1230
triadic
#7F1267 #677F12 #12677F
tetradic
#7F1267 #7F6012 #127F2A #12307F
square
#7F1267 #7F6012 #127F2A #12307F
split-complementary
#7F1267 #307F12 #127F60
monochromatic
#1B0416 #490A3C #7F1267 #B51A92 #E12BB9

Accessibility & contrast

On white

9.61
#7F1267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F1267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1267
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1267#FFFFFF#000000##FFFFFF
##7F12671.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1267;
/* rgb */ color: rgb(127, 18, 103);
/* oklch */ color: oklch(41.2% 0.165 339.4);
Tailwind
colors: {
  custom: {
    50: '#a86092',
    500: '#7f1267',
    950: '#000000',
  },
}
SCSS
$custom: #7f1267;
$custom-light: #a86092;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1267",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 313.211,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41188,
    "c": 0.16509,
    "h": 339.4
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#7F1267
secondary
#38B554
accent
#F25F36
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7F1267

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

Preview Lab → · Contrast checker → · Palette generator →

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