#7F155B#7F155B

#7F155B is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.155 H 346.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7F155B
RGBrgb(127, 21, 91)
HSLhsl(320, 72%, 29%)
HSVhsv(320, 83%, 50%)
CMYKcmyk(0%, 83.5%, 28.3%, 50.2%)
CIE-LABlab(28.91, 49.39, -14.10)
CIE-LCHlch(28.91, 51.37, 344.06°)
OKLaboklab(40.78% 0.1503 -0.0374)
OKLCHoklch(40.78% 0.155 346)
XYZxyz(10.9094, 5.8049, 10.4415)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F155B #157F39
analogous
#6E157F #7F155B #7F1526
triadic
#7F155B #5B7F15 #155B7F
tetradic
#7F155B #7F6E15 #157F39 #15267F
square
#7F155B #7F6E15 #157F39 #15267F
split-complementary
#7F155B #267F15 #157F6E
monochromatic
#1A0413 #4A0C35 #7F155B #B41E81 #DD31A3

Accessibility & contrast

On white

9.72
#7F155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F155B
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F155B#FFFFFF#000000##FFFFFF
##7F155B1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395D
Deuteranopia (green-blind)
#464B59
Tritanopia (blue-blind)
#881137
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f155b;
/* rgb */ color: rgb(127, 21, 91);
/* oklch */ color: oklch(40.8% 0.155 346.0);
Tailwind
colors: {
  custom: {
    50: '#a86189',
    500: '#7f155b',
    950: '#000000',
  },
}
SCSS
$custom: #7f155b;
$custom-light: #a86189;
$custom-dark: #000000;
JSON
{
  "hex": "#7f155b",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 320.377,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4078,
    "c": 0.15491,
    "h": 346
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#7F155B
secondary
#3CB465
accent
#EE7739
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7F155B

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

Preview Lab → · Contrast checker → · Palette generator →

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