#7F185B#7F185B

#7F185B is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.152 H 346.2°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#7F185B
RGBrgb(127, 24, 91)
HSLhsl(321, 68%, 30%)
HSVhsv(321, 81%, 50%)
CMYKcmyk(0%, 81.1%, 28.3%, 50.2%)
CIE-LABlab(29.21, 48.53, -13.64)
CIE-LCHlch(29.21, 50.42, 344.30°)
OKLaboklab(41% 0.1476 -0.0362)
OKLCHoklch(41% 0.152 346.2)
XYZxyz(10.9679, 5.9219, 10.4609)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F185B #187F3C
analogous
#70187F #7F185B #7F1827
triadic
#7F185B #5B7F18 #185B7F
tetradic
#7F185B #7F7018 #187F3C #18277F
square
#7F185B #7F7018 #187F3C #18277F
split-complementary
#7F185B #277F18 #187F70
monochromatic
#1A0512 #4C0E36 #7F185B #B22280 #D938A1

Accessibility & contrast

On white

9.61
#7F185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F185B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F185B
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F185B#FFFFFF#000000##FFFFFF
##7F185B1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5D
Deuteranopia (green-blind)
#464B59
Tritanopia (blue-blind)
#881538
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f185b;
/* rgb */ color: rgb(127, 24, 91);
/* oklch */ color: oklch(41.0% 0.152 346.2);
Tailwind
colors: {
  custom: {
    50: '#a86289',
    500: '#7f185b',
    950: '#000000',
  },
}
SCSS
$custom: #7f185b;
$custom-light: #a86289;
$custom-dark: #000000;
JSON
{
  "hex": "#7f185b",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 320.971,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40997,
    "c": 0.15201,
    "h": 346.2
  },
  "luminance": 0.05921
}

Semantic roles & 50–950 ramp

primary
#7F185B
secondary
#3FB368
accent
#EB7A3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F185B

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

Preview Lab → · Contrast checker → · Palette generator →

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