#7F1765#7F1765

#7F1765 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.159 H 340.6°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7F1765
RGBrgb(127, 23, 101)
HSLhsl(315, 69%, 29%)
HSVhsv(315, 82%, 50%)
CMYKcmyk(0%, 81.9%, 20.5%, 50.2%)
CIE-LABlab(29.58, 50.18, -19.59)
CIE-LCHlch(29.58, 53.87, 338.67°)
OKLaboklab(41.41% 0.1503 -0.0529)
OKLCHoklch(41.41% 0.159 340.6)
XYZxyz(11.4081, 6.0656, 12.8794)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1765 #177F31
analogous
#65177F #7F1765 #7F1731
triadic
#7F1765 #657F17 #17657F
tetradic
#7F1765 #7F6517 #177F31 #17317F
square
#7F1765 #7F6517 #177F31 #17317F
split-complementary
#7F1765 #317F17 #177F65
monochromatic
#1A0515 #4B0E3C #7F1765 #B3208E #DB36B1

Accessibility & contrast

On white

9.49
#7F1765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7F1765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1765
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1765#FFFFFF#000000##FFFFFF
##7F17651.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1765;
/* rgb */ color: rgb(127, 23, 101);
/* oklch */ color: oklch(41.4% 0.159 340.6);
Tailwind
colors: {
  custom: {
    50: '#a86291',
    500: '#7f1765',
    950: '#000000',
  },
}
SCSS
$custom: #7f1765;
$custom-light: #a86291;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1765",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 315,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41411,
    "c": 0.15932,
    "h": 340.6
  },
  "luminance": 0.06064
}

Semantic roles & 50–950 ramp

primary
#7F1765
secondary
#3EB45C
accent
#EC683C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1765

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

Preview Lab → · Contrast checker → · Palette generator →

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