#7F2B62#7F2B62

#7F2B62 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.2% C 0.132 H 343.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7F2B62
RGBrgb(127, 43, 98)
HSLhsl(321, 49%, 33%)
HSVhsv(321, 66%, 50%)
CMYKcmyk(0%, 66.1%, 22.8%, 50.2%)
CIE-LABlab(32.08, 42.32, -13.79)
CIE-LCHlch(32.08, 44.51, 341.95°)
OKLaboklab(43.19% 0.1271 -0.0367)
OKLCHoklch(43.19% 0.132 343.9)
XYZxyz(11.8213, 7.1227, 12.3052)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B62 #2B7F48
analogous
#722B7F #7F2B62 #7F2B38
triadic
#7F2B62 #627F2B #2B627F
tetradic
#7F2B62 #7F722B #2B7F48 #2B387F
square
#7F2B62 #7F722B #2B7F48 #2B387F
split-complementary
#7F2B62 #387F2B #2B7F72
monochromatic
#240C1B #511C3F #7F2B62 #AD3A85 #C85CA3

Accessibility & contrast

On white

8.66
#7F2B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7F2B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B62
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B62#FFFFFF#000000##FFFFFF
##7F2B621.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334364
Deuteranopia (green-blind)
#4B5160
Tritanopia (blue-blind)
#872B42
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f2b62;
/* rgb */ color: rgb(127, 43, 98);
/* oklch */ color: oklch(43.2% 0.132 343.9);
Tailwind
colors: {
  custom: {
    50: '#a76a8e',
    500: '#7f2b62',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b62;
$custom-light: #a76a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b62",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 98
  },
  "hsl": {
    "h": 320.714,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43191,
    "c": 0.13227,
    "h": 343.9
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#7F2B62
secondary
#58AE76
accent
#D97F4F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7F2B62

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

Preview Lab → · Contrast checker → · Palette generator →

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