#7F1754#7F1754

#7F1754 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.149 H 350.3°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#7F1754
RGBrgb(127, 23, 84)
HSLhsl(325, 69%, 29%)
HSVhsv(325, 82%, 50%)
CMYKcmyk(0%, 81.9%, 33.9%, 50.2%)
CIE-LABlab(28.81, 47.96, -9.65)
CIE-LCHlch(28.81, 48.92, 348.62°)
OKLaboklab(40.61% 0.1469 -0.0252)
OKLCHoklch(40.61% 0.149 350.3)
XYZxyz(10.6596, 5.7662, 8.9374)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1754 #177F42
analogous
#76177F #7F1754 #7F1720
triadic
#7F1754 #547F17 #17547F
tetradic
#7F1754 #7F7617 #177F42 #17207F
square
#7F1754 #7F7617 #177F42 #17207F
split-complementary
#7F1754 #207F17 #177F76
monochromatic
#1A0511 #4B0E32 #7F1754 #B32076 #DB3696

Accessibility & contrast

On white

9.75
#7F1754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7F1754 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1754
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1754#FFFFFF#000000##FFFFFF
##7F17541.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3856
Deuteranopia (green-blind)
#484A52
Tritanopia (blue-blind)
#890E34
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1754;
/* rgb */ color: rgb(127, 23, 84);
/* oklch */ color: oklch(40.6% 0.149 350.3);
Tailwind
colors: {
  custom: {
    50: '#a86184',
    500: '#7f1754',
    950: '#000000',
  },
}
SCSS
$custom: #7f1754;
$custom-light: #a86184;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1754",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 84
  },
  "hsl": {
    "h": 324.808,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4061,
    "c": 0.14907,
    "h": 350.3
  },
  "luminance": 0.05765
}

Semantic roles & 50–950 ramp

primary
#7F1754
secondary
#3EB46F
accent
#EC853C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F1754

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

Preview Lab → · Contrast checker → · Palette generator →

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