#7F184F#7F184F

#7F184F is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.146 H 353.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7F184F
RGBrgb(127, 24, 79)
HSLhsl(328, 68%, 30%)
HSVhsv(328, 81%, 50%)
CMYKcmyk(0%, 81.1%, 37.8%, 50.2%)
CIE-LABlab(28.72, 47.07, -6.48)
CIE-LCHlch(28.72, 47.51, 352.16°)
OKLaboklab(40.48% 0.1446 -0.0166)
OKLCHoklch(40.48% 0.146 353.5)
XYZxyz(10.4910, 5.7311, 7.9494)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F184F #187F48
analogous
#7C187F #7F184F #7F181C
triadic
#7F184F #4F7F18 #184F7F
tetradic
#7F184F #7F7C18 #187F48 #181C7F
square
#7F184F #7F7C18 #187F48 #181C7F
split-complementary
#7F184F #1C7F18 #187F7C
monochromatic
#1A0510 #4C0E2F #7F184F #B2226F #D9388E

Accessibility & contrast

On white

9.79
#7F184F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7F184F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F184F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F184F#FFFFFF#000000##FFFFFF
##7F184F1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3850
Deuteranopia (green-blind)
#4A4A4D
Tritanopia (blue-blind)
#890B31
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f184f;
/* rgb */ color: rgb(127, 24, 79);
/* oklch */ color: oklch(40.5% 0.146 353.5);
Tailwind
colors: {
  custom: {
    50: '#a86180',
    500: '#7f184f',
    950: '#000000',
  },
}
SCSS
$custom: #7f184f;
$custom-light: #a86180;
$custom-dark: #000000;
JSON
{
  "hex": "#7f184f",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 79
  },
  "hsl": {
    "h": 327.961,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40479,
    "c": 0.14556,
    "h": 353.5
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#7F184F
secondary
#3FB375
accent
#EB8E3D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7F184F

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

Preview Lab → · Contrast checker → · Palette generator →

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