#7F1865#7F1865

#7F1865 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.5% C 0.158 H 340.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7F1865
RGBrgb(127, 24, 101)
HSLhsl(315, 68%, 30%)
HSVhsv(315, 81%, 50%)
CMYKcmyk(0%, 81.1%, 20.5%, 50.2%)
CIE-LABlab(29.68, 49.89, -19.44)
CIE-LCHlch(29.68, 53.55, 338.72°)
OKLaboklab(41.48% 0.1494 -0.0524)
OKLCHoklch(41.48% 0.158 340.7)
XYZxyz(11.4284, 6.1061, 12.8861)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1865 #187F32
analogous
#66187F #7F1865 #7F1831
triadic
#7F1865 #657F18 #18657F
tetradic
#7F1865 #7F6618 #187F32 #18317F
square
#7F1865 #7F6618 #187F32 #18317F
split-complementary
#7F1865 #317F18 #187F66
monochromatic
#1A0514 #4C0E3C #7F1865 #B2228E #D938B1

Accessibility & contrast

On white

9.46
#7F1865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7F1865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1865
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1865#FFFFFF#000000##FFFFFF
##7F18651.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213B67
Deuteranopia (green-blind)
#434C63
Tritanopia (blue-blind)
#871B3D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1865;
/* rgb */ color: rgb(127, 24, 101);
/* oklch */ color: oklch(41.5% 0.158 340.7);
Tailwind
colors: {
  custom: {
    50: '#a86291',
    500: '#7f1865',
    950: '#000000',
  },
}
SCSS
$custom: #7f1865;
$custom-light: #a86291;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1865",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 315.146,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41484,
    "c": 0.15834,
    "h": 340.7
  },
  "luminance": 0.06105
}

Semantic roles & 50–950 ramp

primary
#7F1865
secondary
#3FB35D
accent
#EB693D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1865

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

Preview Lab → · Contrast checker → · Palette generator →

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