#7F154F#7F154F

#7F154F is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.148 H 353.1°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#7F154F
RGBrgb(127, 21, 79)
HSLhsl(327, 72%, 29%)
HSVhsv(327, 83%, 50%)
CMYKcmyk(0%, 83.5%, 37.8%, 50.2%)
CIE-LABlab(28.42, 47.94, -6.94)
CIE-LCHlch(28.42, 48.44, 351.76°)
OKLaboklab(40.26% 0.1474 -0.0178)
OKLCHoklch(40.26% 0.148 353.1)
XYZxyz(10.4325, 5.6142, 7.9299)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F154F #157F45
analogous
#7A157F #7F154F #7F151A
triadic
#7F154F #4F7F15 #154F7F
tetradic
#7F154F #7F7A15 #157F45 #151A7F
square
#7F154F #7F7A15 #157F45 #151A7F
split-complementary
#7F154F #1A7F15 #157F7A
monochromatic
#1A0410 #4A0C2E #7F154F #B41E70 #DD318F

Accessibility & contrast

On white

9.89
#7F154F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7F154F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F154F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F154F#FFFFFF#000000##FFFFFF
##7F154F1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3750
Deuteranopia (green-blind)
#494A4D
Tritanopia (blue-blind)
#890630
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f154f;
/* rgb */ color: rgb(127, 21, 79);
/* oklch */ color: oklch(40.3% 0.148 353.1);
Tailwind
colors: {
  custom: {
    50: '#a96080',
    500: '#7f154f',
    950: '#000000',
  },
}
SCSS
$custom: #7f154f;
$custom-light: #a96080;
$custom-dark: #000000;
JSON
{
  "hex": "#7f154f",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 79
  },
  "hsl": {
    "h": 327.17,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40256,
    "c": 0.14845,
    "h": 353.1
  },
  "luminance": 0.05613
}

Semantic roles & 50–950 ramp

primary
#7F154F
secondary
#3CB472
accent
#EE8B39
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F154F

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

Preview Lab → · Contrast checker → · Palette generator →

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