#7F2D68#7F2D68

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

Color values

HEX#7F2D68
RGBrgb(127, 45, 104)
HSLhsl(317, 48%, 34%)
HSVhsv(317, 65%, 50%)
CMYKcmyk(0%, 64.6%, 18.1%, 50.2%)
CIE-LABlab(32.68, 42.33, -16.73)
CIE-LCHlch(32.68, 45.52, 338.44°)
OKLaboklab(43.71% 0.1257 -0.045)
OKLCHoklch(43.71% 0.133 340.3)
XYZxyz(12.1897, 7.3894, 13.8783)
Luminance0.0739 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D68 #2D7F44
analogous
#6D2D7F #7F2D68 #7F2D3F
triadic
#7F2D68 #687F2D #2D687F
tetradic
#7F2D68 #7F6D2D #2D7F44 #2D3F7F
square
#7F2D68 #7F6D2D #2D7F44 #2D3F7F
split-complementary
#7F2D68 #3F7F2D #2D7F6D
monochromatic
#250D1E #521D43 #7F2D68 #AC3D8D #C760AA

Accessibility & contrast

On white

8.48
#7F2D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7F2D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2D68
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D68#FFFFFF#000000##FFFFFF
##7F2D681.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32456A
Deuteranopia (green-blind)
#4A5266
Tritanopia (blue-blind)
#862F46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2d68;
/* rgb */ color: rgb(127, 45, 104);
/* oklch */ color: oklch(43.7% 0.133 340.3);
Tailwind
colors: {
  custom: {
    50: '#a76c93',
    500: '#7f2d68',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d68;
$custom-light: #a76c93;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d68",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 104
  },
  "hsl": {
    "h": 316.829,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43712,
    "c": 0.13347,
    "h": 340.3
  },
  "luminance": 0.07388
}

Semantic roles & 50–950 ramp

primary
#7F2D68
secondary
#5BAD72
accent
#D77651
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7F2D68

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

Preview Lab → · Contrast checker → · Palette generator →

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