#7F1755#7F1755

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

Color values

HEX#7F1755
RGBrgb(127, 23, 85)
HSLhsl(324, 69%, 29%)
HSVhsv(324, 82%, 50%)
CMYKcmyk(0%, 81.9%, 33.1%, 50.2%)
CIE-LABlab(28.86, 48.08, -10.25)
CIE-LCHlch(28.86, 49.16, 347.96°)
OKLaboklab(40.65% 0.1472 -0.0268)
OKLCHoklch(40.65% 0.15 349.7)
XYZxyz(10.6991, 5.7820, 9.1452)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1755 #177F41
analogous
#75177F #7F1755 #7F1721
triadic
#7F1755 #557F17 #17557F
tetradic
#7F1755 #7F7517 #177F41 #17217F
square
#7F1755 #7F7517 #177F41 #17217F
split-complementary
#7F1755 #217F17 #177F75
monochromatic
#1A0511 #4B0E32 #7F1755 #B32078 #DB3698

Accessibility & contrast

On white

9.74
#7F1755 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1755
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1755#FFFFFF#000000##FFFFFF
##7F17551.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3857
Deuteranopia (green-blind)
#484B53
Tritanopia (blue-blind)
#890F34
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1755;
/* rgb */ color: rgb(127, 23, 85);
/* oklch */ color: oklch(40.7% 0.150 349.7);
Tailwind
colors: {
  custom: {
    50: '#a86185',
    500: '#7f1755',
    950: '#000000',
  },
}
SCSS
$custom: #7f1755;
$custom-light: #a86185;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1755",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 85
  },
  "hsl": {
    "h": 324.231,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40653,
    "c": 0.14961,
    "h": 349.7
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#7F1755
secondary
#3EB46E
accent
#EC833C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1755

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

Preview Lab → · Contrast checker → · Palette generator →

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