#7F2863#7F2863

#7F2863 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.137 H 342.9°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#7F2863
RGBrgb(127, 40, 99)
HSLhsl(319, 52%, 33%)
HSVhsv(319, 69%, 50%)
CMYKcmyk(0%, 68.5%, 22%, 50.2%)
CIE-LABlab(31.65, 43.78, -15.10)
CIE-LCHlch(31.65, 46.31, 340.97°)
OKLaboklab(42.89% 0.1313 -0.0404)
OKLCHoklch(42.89% 0.137 342.9)
XYZxyz(11.7637, 6.9316, 12.5204)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2863 #287F44
analogous
#6F287F #7F2863 #7F2838
triadic
#7F2863 #637F28 #28637F
tetradic
#7F2863 #7F6F28 #287F44 #28387F
square
#7F2863 #7F6F28 #287F44 #28387F
split-complementary
#7F2863 #387F28 #287F6F
monochromatic
#220B1A #50193F #7F2863 #AE3787 #CA57A5

Accessibility & contrast

On white

8.80
#7F2863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7F2863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2863
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2863#FFFFFF#000000##FFFFFF
##7F28631.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304165
Deuteranopia (green-blind)
#4A5061
Tritanopia (blue-blind)
#872841
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f2863;
/* rgb */ color: rgb(127, 40, 99);
/* oklch */ color: oklch(42.9% 0.137 342.9);
Tailwind
colors: {
  custom: {
    50: '#a7698f',
    500: '#7f2863',
    950: '#000000',
  },
}
SCSS
$custom: #7f2863;
$custom-light: #a7698f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2863",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 99
  },
  "hsl": {
    "h": 319.31,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42887,
    "c": 0.13736,
    "h": 342.9
  },
  "luminance": 0.0693
}

Semantic roles & 50–950 ramp

primary
#7F2863
secondary
#54AF71
accent
#DC7A4C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7F2863

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

Preview Lab → · Contrast checker → · Palette generator →

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