#7F1955#7F1955

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

Color values

HEX#7F1955
RGBrgb(127, 25, 85)
HSLhsl(325, 67%, 30%)
HSVhsv(325, 80%, 50%)
CMYKcmyk(0%, 80.3%, 33.1%, 50.2%)
CIE-LABlab(29.07, 47.47, -9.93)
CIE-LCHlch(29.07, 48.50, 348.19°)
OKLaboklab(40.81% 0.1453 -0.0259)
OKLCHoklch(40.81% 0.148 349.9)
XYZxyz(10.7403, 5.8644, 9.1589)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1955 #197F43
analogous
#76197F #7F1955 #7F1922
triadic
#7F1955 #557F19 #19557F
tetradic
#7F1955 #7F7619 #197F43 #19227F
square
#7F1955 #7F7619 #197F43 #19227F
split-complementary
#7F1955 #227F19 #197F76
monochromatic
#1A0511 #4C0F33 #7F1955 #B22377 #D83A97

Accessibility & contrast

On white

9.67
#7F1955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1955
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1955#FFFFFF#000000##FFFFFF
##7F19551.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3957
Deuteranopia (green-blind)
#484B53
Tritanopia (blue-blind)
#891135
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1955;
/* rgb */ color: rgb(127, 25, 85);
/* oklch */ color: oklch(40.8% 0.148 349.9);
Tailwind
colors: {
  custom: {
    50: '#a86285',
    500: '#7f1955',
    950: '#000000',
  },
}
SCSS
$custom: #7f1955;
$custom-light: #a86285;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1955",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 85
  },
  "hsl": {
    "h": 324.706,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40807,
    "c": 0.14757,
    "h": 349.9
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#7F1955
secondary
#41B370
accent
#EA853E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1955

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

Preview Lab → · Contrast checker → · Palette generator →

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