#7F1860#7F1860

#7F1860 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.2% C 0.155 H 343.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7F1860
RGBrgb(127, 24, 96)
HSLhsl(318, 68%, 30%)
HSVhsv(318, 81%, 50%)
CMYKcmyk(0%, 81.1%, 24.4%, 50.2%)
CIE-LABlab(29.44, 49.20, -16.56)
CIE-LCHlch(29.44, 51.91, 341.40°)
OKLaboklab(41.23% 0.1486 -0.0443)
OKLCHoklch(41.23% 0.155 343.4)
XYZxyz(11.1908, 6.0110, 11.6350)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1860 #187F37
analogous
#6B187F #7F1860 #7F182D
triadic
#7F1860 #607F18 #18607F
tetradic
#7F1860 #7F6B18 #187F37 #182D7F
square
#7F1860 #7F6B18 #187F37 #182D7F
split-complementary
#7F1860 #2D7F18 #187F6B
monochromatic
#1A0513 #4C0E39 #7F1860 #B22287 #D938A9

Accessibility & contrast

On white

9.54
#7F1860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7F1860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1860
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1860#FFFFFF#000000##FFFFFF
##7F18601.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243B62
Deuteranopia (green-blind)
#454B5E
Tritanopia (blue-blind)
#88183A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1860;
/* rgb */ color: rgb(127, 24, 96);
/* oklch */ color: oklch(41.2% 0.155 343.4);
Tailwind
colors: {
  custom: {
    50: '#a8628d',
    500: '#7f1860',
    950: '#000000',
  },
}
SCSS
$custom: #7f1860;
$custom-light: #a8628d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1860",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 96
  },
  "hsl": {
    "h": 318.058,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41234,
    "c": 0.15508,
    "h": 343.4
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

primary
#7F1860
secondary
#3FB362
accent
#EB713D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1860

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

Preview Lab → · Contrast checker → · Palette generator →

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