#7F1163#7F1163

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

Color values

HEX#7F1163
RGBrgb(127, 17, 99)
HSLhsl(315, 76%, 28%)
HSVhsv(315, 87%, 50%)
CMYKcmyk(0%, 86.6%, 22%, 50.2%)
CIE-LABlab(28.94, 51.46, -19.29)
CIE-LCHlch(28.94, 54.95, 339.45°)
OKLaboklab(40.92% 0.1548 -0.052)
OKLCHoklch(40.92% 0.163 341.4)
XYZxyz(11.2054, 5.8150, 12.3343)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1163 #117F2D
analogous
#64117F #7F1163 #7F112C
triadic
#7F1163 #637F11 #11637F
tetradic
#7F1163 #7F6411 #117F2D #112C7F
square
#7F1163 #7F6411 #117F2D #112C7F
split-complementary
#7F1163 #2C7F11 #117F64
monochromatic
#1B0415 #490A39 #7F1163 #B5188D #E228B3

Accessibility & contrast

On white

9.71
#7F1163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1163
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1163#FFFFFF#000000##FFFFFF
##7F11631.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1163;
/* rgb */ color: rgb(127, 17, 99);
/* oklch */ color: oklch(40.9% 0.163 341.4);
Tailwind
colors: {
  custom: {
    50: '#a8608f',
    500: '#7f1163',
    950: '#000000',
  },
}
SCSS
$custom: #7f1163;
$custom-light: #a8608f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1163",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 315.273,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40921,
    "c": 0.16327,
    "h": 341.4
  },
  "luminance": 0.05814
}

Semantic roles & 50–950 ramp

primary
#7F1163
secondary
#37B557
accent
#F36535
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7F1163

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

Preview Lab → · Contrast checker → · Palette generator →

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