#7F1954#7F1954

#7F1954 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.147 H 350.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7F1954
RGBrgb(127, 25, 84)
HSLhsl(325, 67%, 30%)
HSVhsv(325, 80%, 50%)
CMYKcmyk(0%, 80.3%, 33.9%, 50.2%)
CIE-LABlab(29.03, 47.35, -9.33)
CIE-LCHlch(29.03, 48.26, 348.85°)
OKLaboklab(40.77% 0.145 -0.0243)
OKLCHoklch(40.77% 0.147 350.5)
XYZxyz(10.7009, 5.8487, 8.9512)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1954 #197F44
analogous
#77197F #7F1954 #7F1921
triadic
#7F1954 #547F19 #19547F
tetradic
#7F1954 #7F7719 #197F44 #19217F
square
#7F1954 #7F7719 #197F44 #19217F
split-complementary
#7F1954 #217F19 #197F77
monochromatic
#1A0511 #4C0F32 #7F1954 #B22376 #D83A96

Accessibility & contrast

On white

9.68
#7F1954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7F1954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1954
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1954#FFFFFF#000000##FFFFFF
##7F19541.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3956
Deuteranopia (green-blind)
#494B52
Tritanopia (blue-blind)
#891134
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1954;
/* rgb */ color: rgb(127, 25, 84);
/* oklch */ color: oklch(40.8% 0.147 350.5);
Tailwind
colors: {
  custom: {
    50: '#a86284',
    500: '#7f1954',
    950: '#000000',
  },
}
SCSS
$custom: #7f1954;
$custom-light: #a86284;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1954",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 84
  },
  "hsl": {
    "h": 325.294,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40765,
    "c": 0.14704,
    "h": 350.5
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#7F1954
secondary
#41B371
accent
#EA863E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1954

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

Preview Lab → · Contrast checker → · Palette generator →

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