#7F1856#7F1856

#7F1856 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.149 H 349.2°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#7F1856
RGBrgb(127, 24, 86)
HSLhsl(324, 68%, 30%)
HSVhsv(324, 81%, 50%)
CMYKcmyk(0%, 81.1%, 32.3%, 50.2%)
CIE-LABlab(29.00, 47.90, -10.69)
CIE-LCHlch(29.00, 49.08, 347.42°)
OKLaboklab(40.77% 0.1465 -0.028)
OKLCHoklch(40.77% 0.149 349.2)
XYZxyz(10.7593, 5.8385, 9.3626)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1856 #187F41
analogous
#74187F #7F1856 #7F1823
triadic
#7F1856 #567F18 #18567F
tetradic
#7F1856 #7F7418 #187F41 #18237F
square
#7F1856 #7F7418 #187F41 #18237F
split-complementary
#7F1856 #237F18 #187F74
monochromatic
#1A0511 #4C0E33 #7F1856 #B22279 #D93899

Accessibility & contrast

On white

9.69
#7F1856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7F1856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1856
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1856#FFFFFF#000000##FFFFFF
##7F18561.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3958
Deuteranopia (green-blind)
#484B54
Tritanopia (blue-blind)
#891135
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1856;
/* rgb */ color: rgb(127, 24, 86);
/* oklch */ color: oklch(40.8% 0.149 349.2);
Tailwind
colors: {
  custom: {
    50: '#a86185',
    500: '#7f1856',
    950: '#000000',
  },
}
SCSS
$custom: #7f1856;
$custom-light: #a86185;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1856",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 86
  },
  "hsl": {
    "h": 323.883,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40772,
    "c": 0.14915,
    "h": 349.2
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#7F1856
secondary
#3FB36E
accent
#EB823D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1856

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

Preview Lab → · Contrast checker → · Palette generator →

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