#7F2D67#7F2D67

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

Color values

HEX#7F2D67
RGBrgb(127, 45, 103)
HSLhsl(318, 48%, 34%)
HSVhsv(318, 65%, 50%)
CMYKcmyk(0%, 64.6%, 18.9%, 50.2%)
CIE-LABlab(32.63, 42.17, -16.15)
CIE-LCHlch(32.63, 45.16, 339.04°)
OKLaboklab(43.66% 0.1255 -0.0434)
OKLCHoklch(43.66% 0.133 340.9)
XYZxyz(12.1393, 7.3692, 13.6124)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D67 #2D7F45
analogous
#6E2D7F #7F2D67 #7F2D3E
triadic
#7F2D67 #677F2D #2D677F
tetradic
#7F2D67 #7F6E2D #2D7F45 #2D3E7F
square
#7F2D67 #7F6E2D #2D7F45 #2D3E7F
split-complementary
#7F2D67 #3E7F2D #2D7F6E
monochromatic
#250D1E #521D42 #7F2D67 #AC3D8C #C760A9

Accessibility & contrast

On white

8.49
#7F2D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7F2D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2D67
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D67#FFFFFF#000000##FFFFFF
##7F2D671.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324469
Deuteranopia (green-blind)
#4B5265
Tritanopia (blue-blind)
#862E45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2d67;
/* rgb */ color: rgb(127, 45, 103);
/* oklch */ color: oklch(43.7% 0.133 340.9);
Tailwind
colors: {
  custom: {
    50: '#a76c92',
    500: '#7f2d67',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d67;
$custom-light: #a76c92;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d67",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 103
  },
  "hsl": {
    "h": 317.561,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43664,
    "c": 0.13274,
    "h": 340.9
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

primary
#7F2D67
secondary
#5BAD73
accent
#D77851
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7F2D67

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

Preview Lab → · Contrast checker → · Palette generator →

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