#7F1A66#7F1A66

#7F1A66 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.7% C 0.157 H 340.2°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#7F1A66
RGBrgb(127, 26, 102)
HSLhsl(315, 66%, 30%)
HSVhsv(315, 80%, 50%)
CMYKcmyk(0%, 79.5%, 19.7%, 50.2%)
CIE-LABlab(29.94, 49.43, -19.68)
CIE-LCHlch(29.94, 53.20, 338.29°)
OKLaboklab(41.69% 0.1477 -0.0531)
OKLCHoklch(41.69% 0.157 340.2)
XYZxyz(11.5204, 6.2113, 13.1600)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1A66 #1A7F33
analogous
#651A7F #7F1A66 #7F1A34
triadic
#7F1A66 #667F1A #1A667F
tetradic
#7F1A66 #7F651A #1A7F33 #1A347F
square
#7F1A66 #7F651A #1A7F33 #1A347F
split-complementary
#7F1A66 #347F1A #1A7F65
monochromatic
#190514 #4C103D #7F1A66 #B2248F #D73CB1

Accessibility & contrast

On white

9.37
#7F1A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1A66
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1A66#FFFFFF#000000##FFFFFF
##7F1A661.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223C68
Deuteranopia (green-blind)
#434C64
Tritanopia (blue-blind)
#871D3E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1a66;
/* rgb */ color: rgb(127, 26, 102);
/* oklch */ color: oklch(41.7% 0.157 340.2);
Tailwind
colors: {
  custom: {
    50: '#a86392',
    500: '#7f1a66',
    950: '#000000',
  },
}
SCSS
$custom: #7f1a66;
$custom-light: #a86392;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1a66",
  "rgb": {
    "r": 127,
    "g": 26,
    "b": 102
  },
  "hsl": {
    "h": 314.851,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.41688,
    "c": 0.15696,
    "h": 340.2
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#7F1A66
secondary
#42B35E
accent
#E9693F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #7F1A66

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

Preview Lab → · Contrast checker → · Palette generator →

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