#7F1750#7F1750

#7F1750 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.147 H 352.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7F1750
RGBrgb(127, 23, 80)
HSLhsl(327, 69%, 29%)
HSVhsv(327, 82%, 50%)
CMYKcmyk(0%, 81.9%, 37%, 50.2%)
CIE-LABlab(28.66, 47.48, -7.24)
CIE-LCHlch(28.66, 48.03, 351.33°)
OKLaboklab(40.44% 0.1459 -0.0186)
OKLCHoklch(40.44% 0.147 352.7)
XYZxyz(10.5074, 5.7053, 8.1358)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1750 #177F46
analogous
#7A177F #7F1750 #7F171C
triadic
#7F1750 #507F17 #17507F
tetradic
#7F1750 #7F7A17 #177F46 #171C7F
square
#7F1750 #7F7A17 #177F46 #171C7F
split-complementary
#7F1750 #1C7F17 #177F7A
monochromatic
#1A0510 #4B0E2F #7F1750 #B32071 #DB3690

Accessibility & contrast

On white

9.81
#7F1750 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7F1750 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1750
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1750#FFFFFF#000000##FFFFFF
##7F17501.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3851
Deuteranopia (green-blind)
#494A4E
Tritanopia (blue-blind)
#890A32
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1750;
/* rgb */ color: rgb(127, 23, 80);
/* oklch */ color: oklch(40.4% 0.147 352.7);
Tailwind
colors: {
  custom: {
    50: '#a86181',
    500: '#7f1750',
    950: '#000000',
  },
}
SCSS
$custom: #7f1750;
$custom-light: #a86181;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1750",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 80
  },
  "hsl": {
    "h": 327.115,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40443,
    "c": 0.14703,
    "h": 352.7
  },
  "luminance": 0.05704
}

Semantic roles & 50–950 ramp

primary
#7F1750
secondary
#3EB473
accent
#EC8B3C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F1750

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

Preview Lab → · Contrast checker → · Palette generator →

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