#7F1864#7F1864

#7F1864 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.158 H 341.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7F1864
RGBrgb(127, 24, 100)
HSLhsl(316, 68%, 30%)
HSVhsv(316, 81%, 50%)
CMYKcmyk(0%, 81.1%, 21.3%, 50.2%)
CIE-LABlab(29.63, 49.75, -18.87)
CIE-LCHlch(29.63, 53.21, 339.23°)
OKLaboklab(41.43% 0.1493 -0.0508)
OKLCHoklch(41.43% 0.158 341.2)
XYZxyz(11.3797, 6.0866, 12.6297)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1864 #187F33
analogous
#67187F #7F1864 #7F1831
triadic
#7F1864 #647F18 #18647F
tetradic
#7F1864 #7F6718 #187F33 #18317F
square
#7F1864 #7F6718 #187F33 #18317F
split-complementary
#7F1864 #317F18 #187F67
monochromatic
#1A0514 #4C0E3B #7F1864 #B2228D #D938AF

Accessibility & contrast

On white

9.47
#7F1864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7F1864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1864
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1864#FFFFFF#000000##FFFFFF
##7F18641.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223B66
Deuteranopia (green-blind)
#434C62
Tritanopia (blue-blind)
#871B3D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1864;
/* rgb */ color: rgb(127, 24, 100);
/* oklch */ color: oklch(41.4% 0.158 341.2);
Tailwind
colors: {
  custom: {
    50: '#a86290',
    500: '#7f1864',
    950: '#000000',
  },
}
SCSS
$custom: #7f1864;
$custom-light: #a86290;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1864",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 315.728,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41433,
    "c": 0.15768,
    "h": 341.2
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#7F1864
secondary
#3FB35E
accent
#EB6A3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1864

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

Preview Lab → · Contrast checker → · Palette generator →

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