#7F1757#7F1757

#7F1757 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.151 H 348.5°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#7F1757
RGBrgb(127, 23, 87)
HSLhsl(323, 69%, 29%)
HSVhsv(323, 82%, 50%)
CMYKcmyk(0%, 81.9%, 31.5%, 50.2%)
CIE-LABlab(28.94, 48.32, -11.44)
CIE-LCHlch(28.94, 49.66, 346.68°)
OKLaboklab(40.74% 0.1477 -0.0301)
OKLCHoklch(40.74% 0.151 348.5)
XYZxyz(10.7797, 5.8142, 9.5696)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1757 #177F3F
analogous
#73177F #7F1757 #7F1723
triadic
#7F1757 #577F17 #17577F
tetradic
#7F1757 #7F7317 #177F3F #17237F
square
#7F1757 #7F7317 #177F3F #17237F
split-complementary
#7F1757 #237F17 #177F73
monochromatic
#1A0512 #4B0E34 #7F1757 #B3207A #DB369B

Accessibility & contrast

On white

9.71
#7F1757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1757
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1757#FFFFFF#000000##FFFFFF
##7F17571.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293959
Deuteranopia (green-blind)
#474B55
Tritanopia (blue-blind)
#891135
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1757;
/* rgb */ color: rgb(127, 23, 87);
/* oklch */ color: oklch(40.7% 0.151 348.5);
Tailwind
colors: {
  custom: {
    50: '#a86186',
    500: '#7f1757',
    950: '#000000',
  },
}
SCSS
$custom: #7f1757;
$custom-light: #a86186;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1757",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 87
  },
  "hsl": {
    "h": 323.077,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40741,
    "c": 0.1507,
    "h": 348.5
  },
  "luminance": 0.05813
}

Semantic roles & 50–950 ramp

primary
#7F1757
secondary
#3EB46B
accent
#EC803C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1757

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

Preview Lab → · Contrast checker → · Palette generator →

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