#7F155F#7F155F

#7F155F is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.157 H 343.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#7F155F
RGBrgb(127, 21, 95)
HSLhsl(318, 72%, 29%)
HSVhsv(318, 83%, 50%)
CMYKcmyk(0%, 83.5%, 25.2%, 50.2%)
CIE-LABlab(29.10, 49.92, -16.44)
CIE-LCHlch(29.10, 52.55, 341.77°)
OKLaboklab(40.97% 0.1511 -0.044)
OKLCHoklch(40.97% 0.157 343.8)
XYZxyz(11.0866, 5.8758, 11.3745)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F155F #157F35
analogous
#6A157F #7F155F #7F152A
triadic
#7F155F #5F7F15 #155F7F
tetradic
#7F155F #7F6A15 #157F35 #152A7F
square
#7F155F #7F6A15 #157F35 #152A7F
split-complementary
#7F155F #2A7F15 #157F6A
monochromatic
#1A0414 #4A0C38 #7F155F #B41E86 #DD31A9

Accessibility & contrast

On white

9.66
#7F155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F155F
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F155F#FFFFFF#000000##FFFFFF
##7F155F1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233961
Deuteranopia (green-blind)
#444B5D
Tritanopia (blue-blind)
#881439
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f155f;
/* rgb */ color: rgb(127, 21, 95);
/* oklch */ color: oklch(41.0% 0.157 343.8);
Tailwind
colors: {
  custom: {
    50: '#a8618c',
    500: '#7f155f',
    950: '#000000',
  },
}
SCSS
$custom: #7f155f;
$custom-light: #a8618c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f155f",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 318.113,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40971,
    "c": 0.15734,
    "h": 343.8
  },
  "luminance": 0.05875
}

Semantic roles & 50–950 ramp

primary
#7F155F
secondary
#3CB460
accent
#EE7039
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F155F

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

Preview Lab → · Contrast checker → · Palette generator →

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