#7F1960#7F1960

#7F1960 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.154 H 343.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#7F1960
RGBrgb(127, 25, 96)
HSLhsl(318, 67%, 30%)
HSVhsv(318, 80%, 50%)
CMYKcmyk(0%, 80.3%, 24.4%, 50.2%)
CIE-LABlab(29.55, 48.90, -16.40)
CIE-LCHlch(29.55, 51.57, 341.46°)
OKLaboklab(41.31% 0.1477 -0.0439)
OKLCHoklch(41.31% 0.154 343.5)
XYZxyz(11.2118, 6.0530, 11.6420)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1960 #197F38
analogous
#6B197F #7F1960 #7F192D
triadic
#7F1960 #607F19 #19607F
tetradic
#7F1960 #7F6B19 #197F38 #192D7F
square
#7F1960 #7F6B19 #197F38 #192D7F
split-complementary
#7F1960 #2D7F19 #197F6B
monochromatic
#1A0513 #4C0F39 #7F1960 #B22387 #D83AA8

Accessibility & contrast

On white

9.50
#7F1960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7F1960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1960
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1960#FFFFFF#000000##FFFFFF
##7F19601.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253B62
Deuteranopia (green-blind)
#454C5E
Tritanopia (blue-blind)
#88193B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1960;
/* rgb */ color: rgb(127, 25, 96);
/* oklch */ color: oklch(41.3% 0.154 343.5);
Tailwind
colors: {
  custom: {
    50: '#a8628d',
    500: '#7f1960',
    950: '#000000',
  },
}
SCSS
$custom: #7f1960;
$custom-light: #a8628d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1960",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 318.235,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4131,
    "c": 0.15406,
    "h": 343.5
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

primary
#7F1960
secondary
#41B363
accent
#EA723E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1960

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

Preview Lab → · Contrast checker → · Palette generator →

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