#7F2B68#7F2B68

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

Color values

HEX#7F2B68
RGBrgb(127, 43, 104)
HSLhsl(316, 49%, 33%)
HSVhsv(316, 66%, 50%)
CMYKcmyk(0%, 66.1%, 18.1%, 50.2%)
CIE-LABlab(32.35, 43.24, -17.23)
CIE-LCHlch(32.35, 46.55, 338.27°)
OKLaboklab(43.47% 0.1284 -0.0464)
OKLCHoklch(43.47% 0.137 340.1)
XYZxyz(12.1152, 7.2403, 13.8535)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B68 #2B7F42
analogous
#6C2B7F #7F2B68 #7F2B3E
triadic
#7F2B68 #687F2B #2B687F
tetradic
#7F2B68 #7F6C2B #2B7F42 #2B3E7F
square
#7F2B68 #7F6C2B #2B7F42 #2B3E7F
split-complementary
#7F2B68 #3E7F2B #2B7F6C
monochromatic
#240C1D #511C43 #7F2B68 #AD3A8D #C85CAB

Accessibility & contrast

On white

8.58
#7F2B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7F2B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B68
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B68#FFFFFF#000000##FFFFFF
##7F2B681.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30446A
Deuteranopia (green-blind)
#495166
Tritanopia (blue-blind)
#862D45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f2b68;
/* rgb */ color: rgb(127, 43, 104);
/* oklch */ color: oklch(43.5% 0.137 340.1);
Tailwind
colors: {
  custom: {
    50: '#a76b93',
    500: '#7f2b68',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b68;
$custom-light: #a76b93;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b68",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 316.429,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4347,
    "c": 0.13651,
    "h": 340.1
  },
  "luminance": 0.07239
}

Semantic roles & 50–950 ramp

primary
#7F2B68
secondary
#58AE6F
accent
#D9754F
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7F2B68

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

Preview Lab → · Contrast checker → · Palette generator →

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