#7F1967#7F1967

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

Color values

HEX#7F1967
RGBrgb(127, 25, 103)
HSLhsl(314, 67%, 30%)
HSVhsv(314, 80%, 50%)
CMYKcmyk(0%, 80.3%, 18.9%, 50.2%)
CIE-LABlab(29.88, 49.88, -20.41)
CIE-LCHlch(29.88, 53.90, 337.74°)
OKLaboklab(41.66% 0.1488 -0.0552)
OKLCHoklch(41.66% 0.159 339.6)
XYZxyz(11.5485, 6.1877, 13.4155)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1967 #197F31
analogous
#64197F #7F1967 #7F1934
triadic
#7F1967 #677F19 #19677F
tetradic
#7F1967 #7F6419 #197F31 #19347F
square
#7F1967 #7F6419 #197F31 #19347F
split-complementary
#7F1967 #347F19 #197F64
monochromatic
#1A0515 #4C0F3E #7F1967 #B22390 #D83AB3

Accessibility & contrast

On white

9.39
#7F1967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1967
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1967#FFFFFF#000000##FFFFFF
##7F19671.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C69
Deuteranopia (green-blind)
#434C65
Tritanopia (blue-blind)
#871D3F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1967;
/* rgb */ color: rgb(127, 25, 103);
/* oklch */ color: oklch(41.7% 0.159 339.6);
Tailwind
colors: {
  custom: {
    50: '#a86292',
    500: '#7f1967',
    950: '#000000',
  },
}
SCSS
$custom: #7f1967;
$custom-light: #a86292;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1967",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 314.118,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41662,
    "c": 0.15868,
    "h": 339.6
  },
  "luminance": 0.06187
}

Semantic roles & 50–950 ramp

primary
#7F1967
secondary
#41B35C
accent
#EA663E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F1967

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

Preview Lab → · Contrast checker → · Palette generator →

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