#7F1A63#7F1A63

#7F1A63 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.155 H 341.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7F1A63
RGBrgb(127, 26, 99)
HSLhsl(317, 66%, 30%)
HSVhsv(317, 80%, 50%)
CMYKcmyk(0%, 79.5%, 22%, 50.2%)
CIE-LABlab(29.80, 49.00, -17.96)
CIE-LCHlch(29.80, 52.19, 339.87°)
OKLaboklab(41.54% 0.1472 -0.0483)
OKLCHoklch(41.54% 0.155 341.8)
XYZxyz(11.3743, 6.1529, 12.3906)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1A63 #1A7F36
analogous
#691A7F #7F1A63 #7F1A30
triadic
#7F1A63 #637F1A #1A637F
tetradic
#7F1A63 #7F691A #1A7F36 #1A307F
square
#7F1A63 #7F691A #1A7F36 #1A307F
split-complementary
#7F1A63 #307F1A #1A7F69
monochromatic
#190514 #4C103B #7F1A63 #B2248B #D73CAC

Accessibility & contrast

On white

9.42
#7F1A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7F1A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1A63
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1A63#FFFFFF#000000##FFFFFF
##7F1A631.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243C65
Deuteranopia (green-blind)
#444C61
Tritanopia (blue-blind)
#871C3D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1a63;
/* rgb */ color: rgb(127, 26, 99);
/* oklch */ color: oklch(41.5% 0.155 341.8);
Tailwind
colors: {
  custom: {
    50: '#a8638f',
    500: '#7f1a63',
    950: '#000000',
  },
}
SCSS
$custom: #7f1a63;
$custom-light: #a8638f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1a63",
  "rgb": {
    "r": 127,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 316.634,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.41536,
    "c": 0.15496,
    "h": 341.8
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#7F1A63
secondary
#42B361
accent
#E96E3F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1A63

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

Preview Lab → · Contrast checker → · Palette generator →

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