#7F184B#7F184B

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

Color values

HEX#7F184B
RGBrgb(127, 24, 75)
HSLhsl(330, 68%, 30%)
HSVhsv(330, 81%, 50%)
CMYKcmyk(0%, 81.1%, 40.9%, 50.2%)
CIE-LABlab(28.58, 46.62, -4.04)
CIE-LCHlch(28.58, 46.80, 355.05°)
OKLaboklab(40.32% 0.1434 -0.01)
OKLCHoklch(40.32% 0.144 356)
XYZxyz(10.3498, 5.6746, 7.2055)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F184B #187F4C
analogous
#7F187F #7F184B #7F1818
triadic
#7F184B #4B7F18 #184B7F
tetradic
#7F184B #7F7F18 #187F4C #18187F
square
#7F184B #7F7F18 #187F4C #18187F
split-complementary
#7F184B #187F18 #187F7F
monochromatic
#1A050F #4C0E2D #7F184B #B22269 #D93888

Accessibility & contrast

On white

9.84
#7F184B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F184B
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F184B#FFFFFF#000000##FFFFFF
##7F184B1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E374C
Deuteranopia (green-blind)
#4B4A49
Tritanopia (blue-blind)
#8A072F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f184b;
/* rgb */ color: rgb(127, 24, 75);
/* oklch */ color: oklch(40.3% 0.144 356.0);
Tailwind
colors: {
  custom: {
    50: '#a9617d',
    500: '#7f184b',
    950: '#000000',
  },
}
SCSS
$custom: #7f184b;
$custom-light: #a9617d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f184b",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 75
  },
  "hsl": {
    "h": 330.291,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40323,
    "c": 0.14373,
    "h": 356
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

primary
#7F184B
secondary
#3FB37A
accent
#EB953D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7F184B

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

Preview Lab → · Contrast checker → · Palette generator →

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