#7F2E66#7F2E66

#7F2E66 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.7% C 0.130 H 341.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#7F2E66
RGBrgb(127, 46, 102)
HSLhsl(319, 47%, 34%)
HSVhsv(319, 64%, 50%)
CMYKcmyk(0%, 63.8%, 19.7%, 50.2%)
CIE-LABlab(32.76, 41.56, -15.32)
CIE-LCHlch(32.76, 44.29, 339.76°)
OKLaboklab(43.74% 0.1238 -0.041)
OKLCHoklch(43.74% 0.13 341.7)
XYZxyz(12.1280, 7.4264, 13.3625)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E66 #2E7F47
analogous
#702E7F #7F2E66 #7F2E3E
triadic
#7F2E66 #667F2E #2E667F
tetradic
#7F2E66 #7F702E #2E7F47 #2E3E7F
square
#7F2E66 #7F702E #2E7F47 #2E3E7F
split-complementary
#7F2E66 #3E7F2E #2E7F70
monochromatic
#250D1E #521E42 #7F2E66 #AC3E8A #C661A7

Accessibility & contrast

On white

8.45
#7F2E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2E66
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E66#FFFFFF#000000##FFFFFF
##7F2E661.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344568
Deuteranopia (green-blind)
#4B5264
Tritanopia (blue-blind)
#872F45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2e66;
/* rgb */ color: rgb(127, 46, 102);
/* oklch */ color: oklch(43.7% 0.130 341.7);
Tailwind
colors: {
  custom: {
    50: '#a76c91',
    500: '#7f2e66',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e66;
$custom-light: #a76c91;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e66",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 102
  },
  "hsl": {
    "h": 318.519,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43742,
    "c": 0.13046,
    "h": 341.7
  },
  "luminance": 0.07425
}

Semantic roles & 50–950 ramp

primary
#7F2E66
secondary
#5CAD75
accent
#D67A51
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070D
muted
#7F7A7D

Preview Lab

Preview with #7F2E66

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

Preview Lab → · Contrast checker → · Palette generator →

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