#7F185A#7F185A

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

Color values

HEX#7F185A
RGBrgb(127, 24, 90)
HSLhsl(322, 68%, 30%)
HSVhsv(322, 81%, 50%)
CMYKcmyk(0%, 81.1%, 29.1%, 50.2%)
CIE-LABlab(29.17, 48.41, -13.06)
CIE-LCHlch(29.17, 50.14, 344.90°)
OKLaboklab(40.95% 0.1474 -0.0345)
OKLCHoklch(40.95% 0.151 346.8)
XYZxyz(10.9250, 5.9047, 10.2353)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F185A #187F3D
analogous
#70187F #7F185A #7F1827
triadic
#7F185A #5A7F18 #185A7F
tetradic
#7F185A #7F7018 #187F3D #18277F
square
#7F185A #7F7018 #187F3D #18277F
split-complementary
#7F185A #277F18 #187F70
monochromatic
#1A0512 #4C0E36 #7F185A #B2227E #D9389F

Accessibility & contrast

On white

9.63
#7F185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F185A
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F185A#FFFFFF#000000##FFFFFF
##7F185A1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283A5C
Deuteranopia (green-blind)
#474B58
Tritanopia (blue-blind)
#881437
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f185a;
/* rgb */ color: rgb(127, 24, 90);
/* oklch */ color: oklch(41.0% 0.151 346.8);
Tailwind
colors: {
  custom: {
    50: '#a86288',
    500: '#7f185a',
    950: '#000000',
  },
}
SCSS
$custom: #7f185a;
$custom-light: #a86288;
$custom-dark: #000000;
JSON
{
  "hex": "#7f185a",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 321.553,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40951,
    "c": 0.15142,
    "h": 346.8
  },
  "luminance": 0.05903
}

Semantic roles & 50–950 ramp

primary
#7F185A
secondary
#3FB369
accent
#EB7B3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F185A

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

Preview Lab → · Contrast checker → · Palette generator →

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