#7F1063#7F1063

#7F1063 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.9% C 0.164 H 341.4°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7F1063
RGBrgb(127, 16, 99)
HSLhsl(315, 78%, 28%)
HSVhsv(315, 87%, 50%)
CMYKcmyk(0%, 87.4%, 22%, 50.2%)
CIE-LABlab(28.86, 51.69, -19.41)
CIE-LCHlch(28.86, 55.21, 339.42°)
OKLaboklab(40.87% 0.1555 -0.0523)
OKLCHoklch(40.87% 0.164 341.4)
XYZxyz(11.1902, 5.7847, 12.3292)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1063 #107F2C
analogous
#63107F #7F1063 #7F102C
triadic
#7F1063 #637F10 #10637F
tetradic
#7F1063 #7F6310 #107F2C #102C7F
square
#7F1063 #7F6310 #107F2C #102C7F
split-complementary
#7F1063 #2C7F10 #107F63
monochromatic
#1B0315 #490939 #7F1063 #B5178D #E426B4

Accessibility & contrast

On white

9.74
#7F1063 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7F1063 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1063
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1063#FFFFFF#000000##FFFFFF
##7F10631.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3965
Deuteranopia (green-blind)
#424A61
Tritanopia (blue-blind)
#87133A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1063;
/* rgb */ color: rgb(127, 16, 99);
/* oklch */ color: oklch(40.9% 0.164 341.4);
Tailwind
colors: {
  custom: {
    50: '#a85f8f',
    500: '#7f1063',
    950: '#000000',
  },
}
SCSS
$custom: #7f1063;
$custom-light: #a85f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1063",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 99
  },
  "hsl": {
    "h": 315.135,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40865,
    "c": 0.16403,
    "h": 341.4
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#7F1063
secondary
#36B556
accent
#F46434
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7F1063

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

Preview Lab → · Contrast checker → · Palette generator →

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