#7F2A60#7F2A60

#7F2A60 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.0% C 0.132 H 345.0°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#7F2A60
RGBrgb(127, 42, 96)
HSLhsl(322, 50%, 33%)
HSVhsv(322, 67%, 50%)
CMYKcmyk(0%, 66.9%, 24.4%, 50.2%)
CIE-LABlab(31.84, 42.47, -12.88)
CIE-LCHlch(31.84, 44.38, 343.13°)
OKLaboklab(42.98% 0.1279 -0.0342)
OKLCHoklch(42.98% 0.132 345)
XYZxyz(11.6921, 7.0136, 11.8021)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A60 #2A7F49
analogous
#732A7F #7F2A60 #7F2A36
triadic
#7F2A60 #607F2A #2A607F
tetradic
#7F2A60 #7F732A #2A7F49 #2A367F
square
#7F2A60 #7F732A #2A7F49 #2A367F
split-complementary
#7F2A60 #367F2A #2A7F73
monochromatic
#230C1A #511B3D #7F2A60 #AD3983 #C95BA1

Accessibility & contrast

On white

8.74
#7F2A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7F2A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A60
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A60#FFFFFF#000000##FFFFFF
##7F2A601.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334262
Deuteranopia (green-blind)
#4B505E
Tritanopia (blue-blind)
#872941
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f2a60;
/* rgb */ color: rgb(127, 42, 96);
/* oklch */ color: oklch(43.0% 0.132 345.0);
Tailwind
colors: {
  custom: {
    50: '#a76a8d',
    500: '#7f2a60',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a60;
$custom-light: #a76a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a60",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 96
  },
  "hsl": {
    "h": 321.882,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42982,
    "c": 0.13243,
    "h": 345
  },
  "luminance": 0.07012
}

Semantic roles & 50–950 ramp

primary
#7F2A60
secondary
#57AE77
accent
#DA814E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7F2A60

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

Preview Lab → · Contrast checker → · Palette generator →

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