#7F184E#7F184E

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

Color values

HEX#7F184E
RGBrgb(127, 24, 78)
HSLhsl(329, 68%, 30%)
HSVhsv(329, 81%, 50%)
CMYKcmyk(0%, 81.1%, 38.6%, 50.2%)
CIE-LABlab(28.69, 46.96, -5.87)
CIE-LCHlch(28.69, 47.32, 352.87°)
OKLaboklab(40.44% 0.1443 -0.0149)
OKLCHoklch(40.44% 0.145 354.1)
XYZxyz(10.4549, 5.7167, 7.7591)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F184E #187F49
analogous
#7D187F #7F184E #7F181A
triadic
#7F184E #4E7F18 #184E7F
tetradic
#7F184E #7F7D18 #187F49 #181A7F
square
#7F184E #7F7D18 #187F49 #181A7F
split-complementary
#7F184E #1A7F18 #187F7D
monochromatic
#1A0510 #4C0E2E #7F184E #B2226E #D9388D

Accessibility & contrast

On white

9.80
#7F184E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F184E
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F184E#FFFFFF#000000##FFFFFF
##7F184E1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D384F
Deuteranopia (green-blind)
#4A4A4C
Tritanopia (blue-blind)
#890A31
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f184e;
/* rgb */ color: rgb(127, 24, 78);
/* oklch */ color: oklch(40.4% 0.145 354.1);
Tailwind
colors: {
  custom: {
    50: '#a9617f',
    500: '#7f184e',
    950: '#000000',
  },
}
SCSS
$custom: #7f184e;
$custom-light: #a9617f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f184e",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 78
  },
  "hsl": {
    "h": 328.544,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4044,
    "c": 0.14508,
    "h": 354.1
  },
  "luminance": 0.05715
}

Semantic roles & 50–950 ramp

primary
#7F184E
secondary
#3FB377
accent
#EB903D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F184E

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

Preview Lab → · Contrast checker → · Palette generator →

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