#7F185C#7F185C

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

Color values

HEX#7F185C
RGBrgb(127, 24, 92)
HSLhsl(320, 68%, 30%)
HSVhsv(320, 81%, 50%)
CMYKcmyk(0%, 81.1%, 27.6%, 50.2%)
CIE-LABlab(29.26, 48.67, -14.23)
CIE-LCHlch(29.26, 50.70, 343.70°)
OKLaboklab(41.04% 0.1479 -0.0378)
OKLCHoklch(41.04% 0.153 345.7)
XYZxyz(11.0113, 5.9392, 10.6896)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F185C #187F3B
analogous
#6F187F #7F185C #7F1829
triadic
#7F185C #5C7F18 #185C7F
tetradic
#7F185C #7F6F18 #187F3B #18297F
square
#7F185C #7F6F18 #187F3B #18297F
split-complementary
#7F185C #297F18 #187F6F
monochromatic
#1A0513 #4C0E37 #7F185C #B22281 #D938A3

Accessibility & contrast

On white

9.60
#7F185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F185C
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F185C#FFFFFF#000000##FFFFFF
##7F185C1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f185c;
/* rgb */ color: rgb(127, 24, 92);
/* oklch */ color: oklch(41.0% 0.153 345.7);
Tailwind
colors: {
  custom: {
    50: '#a8628a',
    500: '#7f185c',
    950: '#000000',
  },
}
SCSS
$custom: #7f185c;
$custom-light: #a8628a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f185c",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 320.388,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41043,
    "c": 0.15261,
    "h": 345.7
  },
  "luminance": 0.05938
}

Semantic roles & 50–950 ramp

primary
#7F185C
secondary
#3FB367
accent
#EB783D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F185C

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

Preview Lab → · Contrast checker → · Palette generator →

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