#7F1265#7F1265

#7F1265 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.164 H 340.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#7F1265
RGBrgb(127, 18, 101)
HSLhsl(314, 75%, 28%)
HSVhsv(314, 86%, 50%)
CMYKcmyk(0%, 85.8%, 20.5%, 50.2%)
CIE-LABlab(29.12, 51.50, -20.30)
CIE-LCHlch(29.12, 55.36, 338.48°)
OKLaboklab(41.08% 0.1543 -0.0549)
OKLCHoklch(41.08% 0.164 340.4)
XYZxyz(11.3180, 5.8854, 12.8493)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1265 #127F2C
analogous
#62127F #7F1265 #7F122E
triadic
#7F1265 #657F12 #12657F
tetradic
#7F1265 #7F6212 #127F2C #122E7F
square
#7F1265 #7F6212 #127F2C #122E7F
split-complementary
#7F1265 #2E7F12 #127F62
monochromatic
#1B0415 #490A3A #7F1265 #B51A90 #E12BB5

Accessibility & contrast

On white

9.65
#7F1265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F1265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1265
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1265#FFFFFF#000000##FFFFFF
##7F12651.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3A67
Deuteranopia (green-blind)
#414B63
Tritanopia (blue-blind)
#87163C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1265;
/* rgb */ color: rgb(127, 18, 101);
/* oklch */ color: oklch(41.1% 0.164 340.4);
Tailwind
colors: {
  custom: {
    50: '#a86091',
    500: '#7f1265',
    950: '#000000',
  },
}
SCSS
$custom: #7f1265;
$custom-light: #a86091;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1265",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 314.312,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41083,
    "c": 0.16376,
    "h": 340.4
  },
  "luminance": 0.05884
}

Semantic roles & 50–950 ramp

primary
#7F1265
secondary
#38B556
accent
#F26336
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7F1265

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

Preview Lab → · Contrast checker → · Palette generator →

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