#7F1A67#7F1A67

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

Color values

HEX#7F1A67
RGBrgb(127, 26, 103)
HSLhsl(314, 66%, 30%)
HSVhsv(314, 80%, 50%)
CMYKcmyk(0%, 79.5%, 18.9%, 50.2%)
CIE-LABlab(29.99, 49.58, -20.25)
CIE-LCHlch(29.99, 53.55, 337.78°)
OKLaboklab(41.74% 0.1478 -0.0548)
OKLCHoklch(41.74% 0.158 339.7)
XYZxyz(11.5703, 6.2312, 13.4227)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1A67 #1A7F32
analogous
#641A7F #7F1A67 #7F1A35
triadic
#7F1A67 #677F1A #1A677F
tetradic
#7F1A67 #7F641A #1A7F32 #1A357F
square
#7F1A67 #7F641A #1A7F32 #1A357F
split-complementary
#7F1A67 #357F1A #1A7F64
monochromatic
#190515 #4C103E #7F1A67 #B22490 #D73CB2

Accessibility & contrast

On white

9.35
#7F1A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7F1A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1A67
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1A67#FFFFFF#000000##FFFFFF
##7F1A671.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213C69
Deuteranopia (green-blind)
#434C65
Tritanopia (blue-blind)
#871E3F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1a67;
/* rgb */ color: rgb(127, 26, 103);
/* oklch */ color: oklch(41.7% 0.158 339.7);
Tailwind
colors: {
  custom: {
    50: '#a86392',
    500: '#7f1a67',
    950: '#000000',
  },
}
SCSS
$custom: #7f1a67;
$custom-light: #a86392;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1a67",
  "rgb": {
    "r": 127,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 314.257,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.41739,
    "c": 0.15765,
    "h": 339.7
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#7F1A67
secondary
#42B35D
accent
#E9673F
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F1A67

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

Preview Lab → · Contrast checker → · Palette generator →

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