#7F1869#7F1869

#7F1869 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.7% C 0.161 H 338.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7F1869
RGBrgb(127, 24, 105)
HSLhsl(313, 68%, 30%)
HSVhsv(313, 81%, 50%)
CMYKcmyk(0%, 81.1%, 17.3%, 50.2%)
CIE-LABlab(29.88, 50.47, -21.71)
CIE-LCHlch(29.88, 54.94, 336.73°)
OKLaboklab(41.69% 0.1499 -0.0589)
OKLCHoklch(41.69% 0.161 338.5)
XYZxyz(11.6291, 6.1864, 13.9435)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1869 #187F2E
analogous
#62187F #7F1869 #7F1835
triadic
#7F1869 #697F18 #18697F
tetradic
#7F1869 #7F6218 #187F2E #18357F
square
#7F1869 #7F6218 #187F2E #18357F
split-complementary
#7F1869 #357F18 #187F62
monochromatic
#1A0515 #4C0E3E #7F1869 #B22294 #D938B7

Accessibility & contrast

On white

9.39
#7F1869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7F1869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1869
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1869#FFFFFF#000000##FFFFFF
##7F18691.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3C6B
Deuteranopia (green-blind)
#414C67
Tritanopia (blue-blind)
#871E3F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1869;
/* rgb */ color: rgb(127, 24, 105);
/* oklch */ color: oklch(41.7% 0.161 338.5);
Tailwind
colors: {
  custom: {
    50: '#a86294',
    500: '#7f1869',
    950: '#000000',
  },
}
SCSS
$custom: #7f1869;
$custom-light: #a86294;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1869",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 312.816,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41692,
    "c": 0.16106,
    "h": 338.5
  },
  "luminance": 0.06185
}

Semantic roles & 50–950 ramp

primary
#7F1869
secondary
#3FB358
accent
#EB623D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F1869

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

Preview Lab → · Contrast checker → · Palette generator →

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