#7F145D#7F145D

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

Color values

HEX#7F145D
RGBrgb(127, 20, 93)
HSLhsl(319, 73%, 29%)
HSVhsv(319, 84%, 50%)
CMYKcmyk(0%, 84.3%, 26.8%, 50.2%)
CIE-LABlab(28.91, 49.92, -15.42)
CIE-LCHlch(28.91, 52.25, 342.84°)
OKLaboklab(40.81% 0.1515 -0.0411)
OKLCHoklch(40.81% 0.157 344.8)
XYZxyz(10.9788, 5.8039, 10.8959)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F145D #147F36
analogous
#6C147F #7F145D #7F1428
triadic
#7F145D #5D7F14 #145D7F
tetradic
#7F145D #7F6C14 #147F36 #14287F
square
#7F145D #7F6C14 #147F36 #14287F
split-complementary
#7F145D #287F14 #147F6C
monochromatic
#1A0413 #4A0C36 #7F145D #B41C84 #DE2FA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F145D#FFFFFF#000000##FFFFFF
##7F145D1.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)
#24395F
Deuteranopia (green-blind)
#454A5B
Tritanopia (blue-blind)
#881238
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f145d;
/* rgb */ color: rgb(127, 20, 93);
/* oklch */ color: oklch(40.8% 0.157 344.8);
Tailwind
colors: {
  custom: {
    50: '#a8608b',
    500: '#7f145d',
    950: '#000000',
  },
}
SCSS
$custom: #7f145d;
$custom-light: #a8608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f145d",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 319.065,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40807,
    "c": 0.15701,
    "h": 344.8
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#7F145D
secondary
#3BB461
accent
#EF7338
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7F145D

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

Preview Lab → · Contrast checker → · Palette generator →

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