#7F2A68#7F2A68

#7F2A68 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.4% C 0.138 H 340.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#7F2A68
RGBrgb(127, 42, 104)
HSLhsl(316, 50%, 33%)
HSVhsv(316, 67%, 50%)
CMYKcmyk(0%, 66.9%, 18.1%, 50.2%)
CIE-LABlab(32.19, 43.68, -17.48)
CIE-LCHlch(32.19, 47.05, 338.19°)
OKLaboklab(43.35% 0.1297 -0.0471)
OKLCHoklch(43.35% 0.138 340.1)
XYZxyz(12.0793, 7.1685, 13.8415)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A68 #2A7F41
analogous
#6B2A7F #7F2A68 #7F2A3D
triadic
#7F2A68 #687F2A #2A687F
tetradic
#7F2A68 #7F6B2A #2A7F41 #2A3D7F
square
#7F2A68 #7F6B2A #2A7F41 #2A3D7F
split-complementary
#7F2A68 #3D7F2A #2A7F6B
monochromatic
#230C1D #511B42 #7F2A68 #AD398E #C95BAB

Accessibility & contrast

On white

8.63
#7F2A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7F2A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A68
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A68#FFFFFF#000000##FFFFFF
##7F2A681.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F436A
Deuteranopia (green-blind)
#495166
Tritanopia (blue-blind)
#862C45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f2a68;
/* rgb */ color: rgb(127, 42, 104);
/* oklch */ color: oklch(43.4% 0.138 340.1);
Tailwind
colors: {
  custom: {
    50: '#a76a93',
    500: '#7f2a68',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a68;
$custom-light: #a76a93;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a68",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 316.235,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43353,
    "c": 0.138,
    "h": 340.1
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#7F2A68
secondary
#57AE6E
accent
#DA744E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7F2A68

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

Preview Lab → · Contrast checker → · Palette generator →

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