#7F1957#7F1957

#7F1957 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.149 H 348.7°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7F1957
RGBrgb(127, 25, 87)
HSLhsl(324, 67%, 30%)
HSVhsv(324, 80%, 50%)
CMYKcmyk(0%, 80.3%, 31.5%, 50.2%)
CIE-LABlab(29.15, 47.72, -11.12)
CIE-LCHlch(29.15, 49.00, 346.88°)
OKLaboklab(40.89% 0.1458 -0.0292)
OKLCHoklch(40.89% 0.149 348.7)
XYZxyz(10.8209, 5.8967, 9.5833)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1957 #197F41
analogous
#74197F #7F1957 #7F1924
triadic
#7F1957 #577F19 #19577F
tetradic
#7F1957 #7F7419 #197F41 #19247F
square
#7F1957 #7F7419 #197F41 #19247F
split-complementary
#7F1957 #247F19 #197F74
monochromatic
#1A0512 #4C0F34 #7F1957 #B2237A #D83A9A

Accessibility & contrast

On white

9.64
#7F1957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1957
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1957#FFFFFF#000000##FFFFFF
##7F19571.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3959
Deuteranopia (green-blind)
#484B55
Tritanopia (blue-blind)
#891336
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1957;
/* rgb */ color: rgb(127, 25, 87);
/* oklch */ color: oklch(40.9% 0.149 348.7);
Tailwind
colors: {
  custom: {
    50: '#a86286',
    500: '#7f1957',
    950: '#000000',
  },
}
SCSS
$custom: #7f1957;
$custom-light: #a86286;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1957",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 87
  },
  "hsl": {
    "h": 323.529,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40894,
    "c": 0.14867,
    "h": 348.7
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#7F1957
secondary
#41B36E
accent
#EA813E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1957

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

Preview Lab → · Contrast checker → · Palette generator →

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