#7F145B#7F145B

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

Color values

HEX#7F145B
RGBrgb(127, 20, 91)
HSLhsl(320, 73%, 29%)
HSVhsv(320, 84%, 50%)
CMYKcmyk(0%, 84.3%, 28.3%, 50.2%)
CIE-LABlab(28.82, 49.66, -14.25)
CIE-LCHlch(28.82, 51.66, 343.99°)
OKLaboklab(40.71% 0.1512 -0.0378)
OKLCHoklch(40.71% 0.156 345.9)
XYZxyz(10.8914, 5.7689, 10.4355)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F145B #147F38
analogous
#6E147F #7F145B #7F1426
triadic
#7F145B #5B7F14 #145B7F
tetradic
#7F145B #7F6E14 #147F38 #14267F
square
#7F145B #7F6E14 #147F38 #14267F
split-complementary
#7F145B #267F14 #147F6E
monochromatic
#1A0413 #4A0C35 #7F145B #B41C81 #DE2FA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F145B#FFFFFF#000000##FFFFFF
##7F145B1.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)
#25385D
Deuteranopia (green-blind)
#454A59
Tritanopia (blue-blind)
#881037
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f145b;
/* rgb */ color: rgb(127, 20, 91);
/* oklch */ color: oklch(40.7% 0.156 345.9);
Tailwind
colors: {
  custom: {
    50: '#a86089',
    500: '#7f145b',
    950: '#000000',
  },
}
SCSS
$custom: #7f145b;
$custom-light: #a86089;
$custom-dark: #000000;
JSON
{
  "hex": "#7f145b",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 320.187,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40713,
    "c": 0.15581,
    "h": 345.9
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#7F145B
secondary
#3BB464
accent
#EF7638
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7F145B

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

Preview Lab → · Contrast checker → · Palette generator →

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