#7F184C#7F184C

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

Color values

HEX#7F184C
RGBrgb(127, 24, 76)
HSLhsl(330, 68%, 30%)
HSVhsv(330, 81%, 50%)
CMYKcmyk(0%, 81.1%, 40.2%, 50.2%)
CIE-LABlab(28.61, 46.73, -4.65)
CIE-LCHlch(28.61, 46.97, 354.31°)
OKLaboklab(40.36% 0.1437 -0.0117)
OKLCHoklch(40.36% 0.144 355.4)
XYZxyz(10.3843, 5.6884, 7.3872)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F184C #187F4B
analogous
#7F187F #7F184C #7F1818
triadic
#7F184C #4C7F18 #184C7F
tetradic
#7F184C #7F7F18 #187F4B #18187F
square
#7F184C #7F7F18 #187F4B #18187F
split-complementary
#7F184C #187F18 #187F7F
monochromatic
#1A050F #4C0E2D #7F184C #B2226B #D93889

Accessibility & contrast

On white

9.83
#7F184C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F184C
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F184C#FFFFFF#000000##FFFFFF
##7F184C1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E374D
Deuteranopia (green-blind)
#4A4A4A
Tritanopia (blue-blind)
#8A0830
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f184c;
/* rgb */ color: rgb(127, 24, 76);
/* oklch */ color: oklch(40.4% 0.144 355.4);
Tailwind
colors: {
  custom: {
    50: '#a9617e',
    500: '#7f184c',
    950: '#000000',
  },
}
SCSS
$custom: #7f184c;
$custom-light: #a9617e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f184c",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 76
  },
  "hsl": {
    "h": 329.709,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40362,
    "c": 0.14417,
    "h": 355.4
  },
  "luminance": 0.05687
}

Semantic roles & 50–950 ramp

primary
#7F184C
secondary
#3FB379
accent
#EB933D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7F184C

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

Preview Lab → · Contrast checker → · Palette generator →

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