#7F1950#7F1950

#7F1950 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.145 H 353.0°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7F1950
RGBrgb(127, 25, 80)
HSLhsl(328, 67%, 30%)
HSVhsv(328, 80%, 50%)
CMYKcmyk(0%, 80.3%, 37%, 50.2%)
CIE-LABlab(28.87, 46.88, -6.92)
CIE-LCHlch(28.87, 47.38, 351.60°)
OKLaboklab(40.6% 0.1439 -0.0178)
OKLCHoklch(40.6% 0.145 353)
XYZxyz(10.5487, 5.7878, 8.1495)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1950 #197F48
analogous
#7B197F #7F1950 #7F191D
triadic
#7F1950 #507F19 #19507F
tetradic
#7F1950 #7F7B19 #197F48 #191D7F
square
#7F1950 #7F7B19 #197F48 #191D7F
split-complementary
#7F1950 #1D7F19 #197F7B
monochromatic
#1A0510 #4C0F30 #7F1950 #B22370 #D83A8F

Accessibility & contrast

On white

9.73
#7F1950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7F1950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1950
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1950#FFFFFF#000000##FFFFFF
##7F19501.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3851
Deuteranopia (green-blind)
#4A4B4E
Tritanopia (blue-blind)
#890E32
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1950;
/* rgb */ color: rgb(127, 25, 80);
/* oklch */ color: oklch(40.6% 0.145 353.0);
Tailwind
colors: {
  custom: {
    50: '#a86281',
    500: '#7f1950',
    950: '#000000',
  },
}
SCSS
$custom: #7f1950;
$custom-light: #a86281;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1950",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 327.647,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40599,
    "c": 0.14501,
    "h": 353
  },
  "luminance": 0.05786
}

Semantic roles & 50–950 ramp

primary
#7F1950
secondary
#41B375
accent
#EA8D3E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1950

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

Preview Lab → · Contrast checker → · Palette generator →

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