#7F1268#7F1268

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

Color values

HEX#7F1268
RGBrgb(127, 18, 104)
HSLhsl(313, 75%, 28%)
HSVhsv(313, 86%, 50%)
CMYKcmyk(0%, 85.8%, 18.1%, 50.2%)
CIE-LABlab(29.27, 51.92, -22.01)
CIE-LCHlch(29.27, 56.39, 337.03°)
OKLaboklab(41.24% 0.1546 -0.0597)
OKLCHoklch(41.24% 0.166 338.9)
XYZxyz(11.4677, 5.9453, 13.6376)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1268 #127F29
analogous
#5F127F #7F1268 #7F1231
triadic
#7F1268 #687F12 #12687F
tetradic
#7F1268 #7F5F12 #127F29 #12317F
square
#7F1268 #7F5F12 #127F29 #12317F
split-complementary
#7F1268 #317F12 #127F5F
monochromatic
#1B0416 #490A3C #7F1268 #B51A94 #E12BBA

Accessibility & contrast

On white

9.59
#7F1268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1268
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1268#FFFFFF#000000##FFFFFF
##7F12681.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3A6A
Deuteranopia (green-blind)
#404B66
Tritanopia (blue-blind)
#87183D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1268;
/* rgb */ color: rgb(127, 18, 104);
/* oklch */ color: oklch(41.2% 0.166 338.9);
Tailwind
colors: {
  custom: {
    50: '#a86093',
    500: '#7f1268',
    950: '#000000',
  },
}
SCSS
$custom: #7f1268;
$custom-light: #a86093;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1268",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 312.661,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41242,
    "c": 0.16575,
    "h": 338.9
  },
  "luminance": 0.05944
}

Semantic roles & 50–950 ramp

primary
#7F1268
secondary
#38B552
accent
#F25E36
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7F1268

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

Preview Lab → · Contrast checker → · Palette generator →

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