#7F2E68#7F2E68

#7F2E68 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 43.8% C 0.132 H 340.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7F2E68
RGBrgb(127, 46, 104)
HSLhsl(317, 47%, 34%)
HSVhsv(317, 64%, 50%)
CMYKcmyk(0%, 63.8%, 18.1%, 50.2%)
CIE-LABlab(32.85, 41.87, -16.47)
CIE-LCHlch(32.85, 44.99, 338.53°)
OKLaboklab(43.84% 0.1243 -0.0442)
OKLCHoklch(43.84% 0.132 340.4)
XYZxyz(12.2283, 7.4666, 13.8912)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E68 #2E7F45
analogous
#6E2E7F #7F2E68 #7F2E40
triadic
#7F2E68 #687F2E #2E687F
tetradic
#7F2E68 #7F6E2E #2E7F45 #2E407F
square
#7F2E68 #7F6E2E #2E7F45 #2E407F
split-complementary
#7F2E68 #407F2E #2E7F6E
monochromatic
#250D1E #521E43 #7F2E68 #AC3E8D #C661A9

Accessibility & contrast

On white

8.42
#7F2E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7F2E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2E68
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E68#FFFFFF#000000##FFFFFF
##7F2E681.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33456A
Deuteranopia (green-blind)
#4B5266
Tritanopia (blue-blind)
#863046
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2e68;
/* rgb */ color: rgb(127, 46, 104);
/* oklch */ color: oklch(43.8% 0.132 340.4);
Tailwind
colors: {
  custom: {
    50: '#a76c93',
    500: '#7f2e68',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e68;
$custom-light: #a76c93;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e68",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 104
  },
  "hsl": {
    "h": 317.037,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43836,
    "c": 0.13192,
    "h": 340.4
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#7F2E68
secondary
#5CAD73
accent
#D67751
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7F2E68

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

Preview Lab → · Contrast checker → · Palette generator →

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