#7F1263#7F1263

#7F1263 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 41.0% C 0.162 H 341.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7F1263
RGBrgb(127, 18, 99)
HSLhsl(315, 75%, 28%)
HSVhsv(315, 86%, 50%)
CMYKcmyk(0%, 85.8%, 22%, 50.2%)
CIE-LABlab(29.02, 51.22, -19.16)
CIE-LCHlch(29.02, 54.69, 339.49°)
OKLaboklab(40.98% 0.154 -0.0516)
OKLCHoklch(40.98% 0.162 341.5)
XYZxyz(11.2212, 5.8467, 12.3395)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1263 #127F2E
analogous
#64127F #7F1263 #7F122C
triadic
#7F1263 #637F12 #12637F
tetradic
#7F1263 #7F6412 #127F2E #122C7F
square
#7F1263 #7F6412 #127F2E #122C7F
split-complementary
#7F1263 #2C7F12 #127F64
monochromatic
#1B0415 #490A39 #7F1263 #B51A8D #E12BB2

Accessibility & contrast

On white

9.68
#7F1263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7F1263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1263
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1263#FFFFFF#000000##FFFFFF
##7F12631.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3965
Deuteranopia (green-blind)
#424B61
Tritanopia (blue-blind)
#87153B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1263;
/* rgb */ color: rgb(127, 18, 99);
/* oklch */ color: oklch(41.0% 0.162 341.5);
Tailwind
colors: {
  custom: {
    50: '#a8608f',
    500: '#7f1263',
    950: '#000000',
  },
}
SCSS
$custom: #7f1263;
$custom-light: #a8608f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1263",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 315.413,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40979,
    "c": 0.16246,
    "h": 341.5
  },
  "luminance": 0.05845
}

Semantic roles & 50–950 ramp

primary
#7F1263
secondary
#38B558
accent
#F26636
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7F1263

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

Preview Lab → · Contrast checker → · Palette generator →

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