#7F145F#7F145F

#7F145F is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.9% C 0.158 H 343.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#7F145F
RGBrgb(127, 20, 95)
HSLhsl(318, 73%, 29%)
HSVhsv(318, 84%, 50%)
CMYKcmyk(0%, 84.3%, 25.2%, 50.2%)
CIE-LABlab(29.00, 50.18, -16.58)
CIE-LCHlch(29.00, 52.85, 341.71°)
OKLaboklab(40.9% 0.1519 -0.0444)
OKLCHoklch(40.9% 0.158 343.7)
XYZxyz(11.0686, 5.8398, 11.3685)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F145F #147F34
analogous
#6A147F #7F145F #7F142A
triadic
#7F145F #5F7F14 #145F7F
tetradic
#7F145F #7F6A14 #147F34 #142A7F
square
#7F145F #7F6A14 #147F34 #142A7F
split-complementary
#7F145F #2A7F14 #147F6A
monochromatic
#1A0414 #4A0C37 #7F145F #B41C87 #DE2FAA

Accessibility & contrast

On white

9.69
#7F145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F145F
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F145F#FFFFFF#000000##FFFFFF
##7F145F1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f145f;
/* rgb */ color: rgb(127, 20, 95);
/* oklch */ color: oklch(40.9% 0.158 343.7);
Tailwind
colors: {
  custom: {
    50: '#a8608c',
    500: '#7f145f',
    950: '#000000',
  },
}
SCSS
$custom: #7f145f;
$custom-light: #a8608c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f145f",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 317.944,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40904,
    "c": 0.15824,
    "h": 343.7
  },
  "luminance": 0.05839
}

Semantic roles & 50–950 ramp

primary
#7F145F
secondary
#3BB45F
accent
#EF6F38
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7F145F

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

Preview Lab → · Contrast checker → · Palette generator →

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