#7F184D#7F184D

#7F184D is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.145 H 354.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7F184D
RGBrgb(127, 24, 77)
HSLhsl(329, 68%, 30%)
HSVhsv(329, 81%, 50%)
CMYKcmyk(0%, 81.1%, 39.4%, 50.2%)
CIE-LABlab(28.65, 46.84, -5.26)
CIE-LCHlch(28.65, 47.14, 353.59°)
OKLaboklab(40.4% 0.144 -0.0133)
OKLCHoklch(40.4% 0.145 354.7)
XYZxyz(10.4193, 5.7024, 7.5717)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F184D #187F4A
analogous
#7E187F #7F184D #7F181A
triadic
#7F184D #4D7F18 #184D7F
tetradic
#7F184D #7F7E18 #187F4A #181A7F
square
#7F184D #7F7E18 #187F4A #181A7F
split-complementary
#7F184D #1A7F18 #187F7E
monochromatic
#1A0510 #4C0E2E #7F184D #B2226C #D9388B

Accessibility & contrast

On white

9.81
#7F184D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7F184D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F184D
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F184D#FFFFFF#000000##FFFFFF
##7F184D1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D374E
Deuteranopia (green-blind)
#4A4A4B
Tritanopia (blue-blind)
#8A0930
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f184d;
/* rgb */ color: rgb(127, 24, 77);
/* oklch */ color: oklch(40.4% 0.145 354.7);
Tailwind
colors: {
  custom: {
    50: '#a9617e',
    500: '#7f184d',
    950: '#000000',
  },
}
SCSS
$custom: #7f184d;
$custom-light: #a9617e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f184d",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 77
  },
  "hsl": {
    "h": 329.126,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.404,
    "c": 0.14462,
    "h": 354.7
  },
  "luminance": 0.05701
}

Semantic roles & 50–950 ramp

primary
#7F184D
secondary
#3FB378
accent
#EB913D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F184D

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

Preview Lab → · Contrast checker → · Palette generator →

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