#7F185E#7F185E

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

Color values

HEX#7F185E
RGBrgb(127, 24, 94)
HSLhsl(319, 68%, 30%)
HSVhsv(319, 81%, 50%)
CMYKcmyk(0%, 81.1%, 26%, 50.2%)
CIE-LABlab(29.35, 48.93, -15.40)
CIE-LCHlch(29.35, 51.30, 342.53°)
OKLaboklab(41.14% 0.1483 -0.0411)
OKLCHoklch(41.14% 0.154 344.5)
XYZxyz(11.0999, 5.9747, 11.1562)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F185E #187F39
analogous
#6D187F #7F185E #7F182B
triadic
#7F185E #5E7F18 #185E7F
tetradic
#7F185E #7F6D18 #187F39 #182B7F
square
#7F185E #7F6D18 #187F39 #182B7F
split-complementary
#7F185E #2B7F18 #187F6D
monochromatic
#1A0513 #4C0E38 #7F185E #B22284 #D938A6

Accessibility & contrast

On white

9.57
#7F185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F185E
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F185E#FFFFFF#000000##FFFFFF
##7F185E1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263A60
Deuteranopia (green-blind)
#454B5C
Tritanopia (blue-blind)
#881739
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f185e;
/* rgb */ color: rgb(127, 24, 94);
/* oklch */ color: oklch(41.1% 0.154 344.5);
Tailwind
colors: {
  custom: {
    50: '#a8628b',
    500: '#7f185e',
    950: '#000000',
  },
}
SCSS
$custom: #7f185e;
$custom-light: #a8628b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f185e",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 319.223,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41138,
    "c": 0.15383,
    "h": 344.5
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#7F185E
secondary
#3FB365
accent
#EB753D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F185E

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

Preview Lab → · Contrast checker → · Palette generator →

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