#7F2B67#7F2B67

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

Color values

HEX#7F2B67
RGBrgb(127, 43, 103)
HSLhsl(317, 49%, 33%)
HSVhsv(317, 66%, 50%)
CMYKcmyk(0%, 66.1%, 18.9%, 50.2%)
CIE-LABlab(32.30, 43.08, -16.66)
CIE-LCHlch(32.30, 46.19, 338.85°)
OKLaboklab(43.42% 0.1282 -0.0448)
OKLCHoklch(43.42% 0.136 340.7)
XYZxyz(12.0647, 7.2201, 13.5876)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B67 #2B7F43
analogous
#6D2B7F #7F2B67 #7F2B3D
triadic
#7F2B67 #677F2B #2B677F
tetradic
#7F2B67 #7F6D2B #2B7F43 #2B3D7F
square
#7F2B67 #7F6D2B #2B7F43 #2B3D7F
split-complementary
#7F2B67 #3D7F2B #2B7F6D
monochromatic
#240C1D #511C42 #7F2B67 #AD3A8C #C85CA9

Accessibility & contrast

On white

8.59
#7F2B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7F2B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B67
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B67#FFFFFF#000000##FFFFFF
##7F2B671.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304369
Deuteranopia (green-blind)
#4A5165
Tritanopia (blue-blind)
#872D45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f2b67;
/* rgb */ color: rgb(127, 43, 103);
/* oklch */ color: oklch(43.4% 0.136 340.7);
Tailwind
colors: {
  custom: {
    50: '#a76a92',
    500: '#7f2b67',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b67;
$custom-light: #a76a92;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b67",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 103
  },
  "hsl": {
    "h": 317.143,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43422,
    "c": 0.13578,
    "h": 340.7
  },
  "luminance": 0.07219
}

Semantic roles & 50–950 ramp

primary
#7F2B67
secondary
#58AE71
accent
#D9764F
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7F2B67

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

Preview Lab → · Contrast checker → · Palette generator →

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