#7F185D#7F185D

#7F185D is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.153 H 345.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7F185D
RGBrgb(127, 24, 93)
HSLhsl(320, 68%, 30%)
HSVhsv(320, 81%, 50%)
CMYKcmyk(0%, 81.1%, 26.8%, 50.2%)
CIE-LABlab(29.30, 48.80, -14.82)
CIE-LCHlch(29.30, 51.00, 343.11°)
OKLaboklab(41.09% 0.148 -0.0394)
OKLCHoklch(41.09% 0.153 345.1)
XYZxyz(11.0553, 5.9568, 10.9214)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F185D #187F3A
analogous
#6E187F #7F185D #7F1829
triadic
#7F185D #5D7F18 #185D7F
tetradic
#7F185D #7F6E18 #187F3A #18297F
square
#7F185D #7F6E18 #187F3A #18297F
split-complementary
#7F185D #297F18 #187F6E
monochromatic
#1A0513 #4C0E37 #7F185D #B22283 #D938A4

Accessibility & contrast

On white

9.58
#7F185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7F185D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F185D
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F185D#FFFFFF#000000##FFFFFF
##7F185D1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263A5F
Deuteranopia (green-blind)
#464B5B
Tritanopia (blue-blind)
#881639
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f185d;
/* rgb */ color: rgb(127, 24, 93);
/* oklch */ color: oklch(41.1% 0.153 345.1);
Tailwind
colors: {
  custom: {
    50: '#a8628b',
    500: '#7f185d',
    950: '#000000',
  },
}
SCSS
$custom: #7f185d;
$custom-light: #a8628b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f185d",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 319.806,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4109,
    "c": 0.15321,
    "h": 345.1
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#7F185D
secondary
#3FB366
accent
#EB763D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F185D

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

Preview Lab → · Contrast checker → · Palette generator →

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