#7F1956#7F1956

#7F1956 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.148 H 349.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#7F1956
RGBrgb(127, 25, 86)
HSLhsl(324, 67%, 30%)
HSVhsv(324, 80%, 50%)
CMYKcmyk(0%, 80.3%, 32.3%, 50.2%)
CIE-LABlab(29.11, 47.59, -10.52)
CIE-LCHlch(29.11, 48.74, 347.53°)
OKLaboklab(40.85% 0.1455 -0.0276)
OKLCHoklch(40.85% 0.148 349.3)
XYZxyz(10.7803, 5.8804, 9.3696)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1956 #197F42
analogous
#75197F #7F1956 #7F1923
triadic
#7F1956 #567F19 #19567F
tetradic
#7F1956 #7F7519 #197F42 #19237F
square
#7F1956 #7F7519 #197F42 #19237F
split-complementary
#7F1956 #237F19 #197F75
monochromatic
#1A0511 #4C0F33 #7F1956 #B22379 #D83A99

Accessibility & contrast

On white

9.65
#7F1956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F1956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1956
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1956#FFFFFF#000000##FFFFFF
##7F19561.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3958
Deuteranopia (green-blind)
#484B54
Tritanopia (blue-blind)
#891235
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1956;
/* rgb */ color: rgb(127, 25, 86);
/* oklch */ color: oklch(40.8% 0.148 349.3);
Tailwind
colors: {
  custom: {
    50: '#a86285',
    500: '#7f1956',
    950: '#000000',
  },
}
SCSS
$custom: #7f1956;
$custom-light: #a86285;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1956",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 86
  },
  "hsl": {
    "h": 324.118,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4085,
    "c": 0.14812,
    "h": 349.3
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#7F1956
secondary
#41B36F
accent
#EA833E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1956

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

Preview Lab → · Contrast checker → · Palette generator →

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