#7F2A67#7F2A67

#7F2A67 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.137 H 340.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#7F2A67
RGBrgb(127, 42, 103)
HSLhsl(317, 50%, 33%)
HSVhsv(317, 67%, 50%)
CMYKcmyk(0%, 66.9%, 18.9%, 50.2%)
CIE-LABlab(32.14, 43.52, -16.91)
CIE-LCHlch(32.14, 46.69, 338.77°)
OKLaboklab(43.31% 0.1295 -0.0455)
OKLCHoklch(43.31% 0.137 340.7)
XYZxyz(12.0288, 7.1483, 13.5756)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A67 #2A7F42
analogous
#6C2A7F #7F2A67 #7F2A3C
triadic
#7F2A67 #677F2A #2A677F
tetradic
#7F2A67 #7F6C2A #2A7F42 #2A3C7F
square
#7F2A67 #7F6C2A #2A7F42 #2A3C7F
split-complementary
#7F2A67 #3C7F2A #2A7F6C
monochromatic
#230C1C #511B42 #7F2A67 #AD398C #C95BAA

Accessibility & contrast

On white

8.64
#7F2A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2A67
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A67#FFFFFF#000000##FFFFFF
##7F2A671.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4369
Deuteranopia (green-blind)
#495165
Tritanopia (blue-blind)
#872C44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f2a67;
/* rgb */ color: rgb(127, 42, 103);
/* oklch */ color: oklch(43.3% 0.137 340.7);
Tailwind
colors: {
  custom: {
    50: '#a76a92',
    500: '#7f2a67',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a67;
$custom-light: #a76a92;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a67",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 316.941,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43305,
    "c": 0.13727,
    "h": 340.7
  },
  "luminance": 0.07147
}

Semantic roles & 50–950 ramp

primary
#7F2A67
secondary
#57AE6F
accent
#DA754E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7F2A67

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

Preview Lab → · Contrast checker → · Palette generator →

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