#7F184A#7F184A

#7F184A is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.143 H 356.6°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#7F184A
RGBrgb(127, 24, 74)
HSLhsl(331, 68%, 30%)
HSVhsv(331, 81%, 50%)
CMYKcmyk(0%, 81.1%, 41.7%, 50.2%)
CIE-LABlab(28.54, 46.52, -3.43)
CIE-LCHlch(28.54, 46.64, 355.79°)
OKLaboklab(40.29% 0.1431 -0.0084)
OKLCHoklch(40.29% 0.143 356.6)
XYZxyz(10.3158, 5.6610, 7.0267)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F184A #187F4D
analogous
#7F187E #7F184A #7F1A18
triadic
#7F184A #4A7F18 #184A7F
tetradic
#7F184A #7E7F18 #187F4D #1A187F
square
#7F184A #7E7F18 #187F4D #1A187F
split-complementary
#7F184A #187F1A #187E7F
monochromatic
#1A050F #4C0E2C #7F184A #B22268 #D93886

Accessibility & contrast

On white

9.85
#7F184A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7F184A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F184A
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F184A#FFFFFF#000000##FFFFFF
##7F184A1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F374B
Deuteranopia (green-blind)
#4B4A48
Tritanopia (blue-blind)
#8A062F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f184a;
/* rgb */ color: rgb(127, 24, 74);
/* oklch */ color: oklch(40.3% 0.143 356.6);
Tailwind
colors: {
  custom: {
    50: '#a9617c',
    500: '#7f184a',
    950: '#000000',
  },
}
SCSS
$custom: #7f184a;
$custom-light: #a9617c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f184a",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 74
  },
  "hsl": {
    "h": 330.874,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40286,
    "c": 0.14331,
    "h": 356.6
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#7F184A
secondary
#3FB37B
accent
#EB963D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7F184A

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

Preview Lab → · Contrast checker → · Palette generator →

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