#7F1269#7F1269

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

Color values

HEX#7F1269
RGBrgb(127, 18, 105)
HSLhsl(312, 75%, 28%)
HSVhsv(312, 86%, 50%)
CMYKcmyk(0%, 85.8%, 17.3%, 50.2%)
CIE-LABlab(29.33, 52.06, -22.57)
CIE-LCHlch(29.33, 56.75, 336.56°)
OKLaboklab(41.3% 0.1547 -0.0613)
OKLCHoklch(41.3% 0.166 338.4)
XYZxyz(11.5188, 5.9657, 13.9067)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1269 #127F28
analogous
#5E127F #7F1269 #7F1232
triadic
#7F1269 #697F12 #12697F
tetradic
#7F1269 #7F5E12 #127F28 #12327F
square
#7F1269 #7F5E12 #127F28 #12327F
split-complementary
#7F1269 #327F12 #127F5E
monochromatic
#1B0416 #490A3D #7F1269 #B51A95 #E12BBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F1269#FFFFFF#000000##FFFFFF
##7F12691.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)
#193B6B
Deuteranopia (green-blind)
#404B67
Tritanopia (blue-blind)
#87193E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1269;
/* rgb */ color: rgb(127, 18, 105);
/* oklch */ color: oklch(41.3% 0.166 338.4);
Tailwind
colors: {
  custom: {
    50: '#a86094',
    500: '#7f1269',
    950: '#000000',
  },
}
SCSS
$custom: #7f1269;
$custom-light: #a86094;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1269",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 312.11,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41296,
    "c": 0.16642,
    "h": 338.4
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#7F1269
secondary
#38B551
accent
#F25C36
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7F1269

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

Preview Lab → · Contrast checker → · Palette generator →

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