#7F1863#7F1863

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

Color values

HEX#7F1863
RGBrgb(127, 24, 99)
HSLhsl(316, 68%, 30%)
HSVhsv(316, 81%, 50%)
CMYKcmyk(0%, 81.1%, 22%, 50.2%)
CIE-LABlab(29.58, 49.61, -18.29)
CIE-LCHlch(29.58, 52.88, 339.76°)
OKLaboklab(41.38% 0.1491 -0.0492)
OKLCHoklch(41.38% 0.157 341.7)
XYZxyz(11.3316, 6.0673, 12.3763)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1863 #187F34
analogous
#68187F #7F1863 #7F182F
triadic
#7F1863 #637F18 #18637F
tetradic
#7F1863 #7F6818 #187F34 #182F7F
square
#7F1863 #7F6818 #187F34 #182F7F
split-complementary
#7F1863 #2F7F18 #187F68
monochromatic
#1A0514 #4C0E3B #7F1863 #B2228B #D938AE

Accessibility & contrast

On white

9.49
#7F1863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7F1863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1863
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1863#FFFFFF#000000##FFFFFF
##7F18631.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223B65
Deuteranopia (green-blind)
#444C61
Tritanopia (blue-blind)
#871A3C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1863;
/* rgb */ color: rgb(127, 24, 99);
/* oklch */ color: oklch(41.4% 0.157 341.7);
Tailwind
colors: {
  custom: {
    50: '#a8628f',
    500: '#7f1863',
    950: '#000000',
  },
}
SCSS
$custom: #7f1863;
$custom-light: #a8628f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1863",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 316.311,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41382,
    "c": 0.15702,
    "h": 341.7
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#7F1863
secondary
#3FB35F
accent
#EB6C3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1863

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

Preview Lab → · Contrast checker → · Palette generator →

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