#7F1B63#7F1B63

#7F1B63 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.154 H 341.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7F1B63
RGBrgb(127, 27, 99)
HSLhsl(317, 65%, 30%)
HSVhsv(317, 79%, 50%)
CMYKcmyk(0%, 78.7%, 22%, 50.2%)
CIE-LABlab(29.91, 48.69, -17.79)
CIE-LCHlch(29.91, 51.83, 339.93°)
OKLaboklab(41.62% 0.1463 -0.0478)
OKLCHoklch(41.62% 0.154 341.9)
XYZxyz(11.3969, 6.1979, 12.3981)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1B63 #1B7F37
analogous
#691B7F #7F1B63 #7F1B31
triadic
#7F1B63 #637F1B #1B637F
tetradic
#7F1B63 #7F691B #1B7F37 #1B317F
square
#7F1B63 #7F691B #1B7F37 #1B317F
split-complementary
#7F1B63 #317F1B #1B7F69
monochromatic
#1A0614 #4D103C #7F1B63 #B1268A #D63EAC

Accessibility & contrast

On white

9.38
#7F1B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7F1B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1B63
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1B63#FFFFFF#000000##FFFFFF
##7F1B631.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253C65
Deuteranopia (green-blind)
#454C61
Tritanopia (blue-blind)
#871D3D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1b63;
/* rgb */ color: rgb(127, 27, 99);
/* oklch */ color: oklch(41.6% 0.154 341.9);
Tailwind
colors: {
  custom: {
    50: '#a8638f',
    500: '#7f1b63',
    950: '#000000',
  },
}
SCSS
$custom: #7f1b63;
$custom-light: #a8638f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1b63",
  "rgb": {
    "r": 127,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 316.8,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41617,
    "c": 0.15389,
    "h": 341.9
  },
  "luminance": 0.06197
}

Semantic roles & 50–950 ramp

primary
#7F1B63
secondary
#43B362
accent
#E86F40
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1B63

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

Preview Lab → · Contrast checker → · Palette generator →

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