#7F2F62#7F2F62

#7F2F62 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.7% C 0.126 H 344.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#7F2F62
RGBrgb(127, 47, 98)
HSLhsl(322, 46%, 34%)
HSVhsv(322, 63%, 50%)
CMYKcmyk(0%, 63%, 22.8%, 50.2%)
CIE-LABlab(32.76, 40.47, -12.76)
CIE-LCHlch(32.76, 42.43, 342.51°)
OKLaboklab(43.69% 0.1214 -0.0339)
OKLCHoklch(43.69% 0.126 344.4)
XYZxyz(11.9739, 7.4280, 12.3560)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F62 #2F7F4C
analogous
#742F7F #7F2F62 #7F2F3A
triadic
#7F2F62 #627F2F #2F627F
tetradic
#7F2F62 #7F742F #2F7F4C #2F3A7F
square
#7F2F62 #7F742F #2F7F4C #2F3A7F
split-complementary
#7F2F62 #3A7F2F #2F7F74
monochromatic
#260E1D #521E40 #7F2F62 #AC4084 #C563A2

Accessibility & contrast

On white

8.45
#7F2F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7F2F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2F62
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F62#FFFFFF#000000##FFFFFF
##7F2F621.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364564
Deuteranopia (green-blind)
#4D5260
Tritanopia (blue-blind)
#872E44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2f62;
/* rgb */ color: rgb(127, 47, 98);
/* oklch */ color: oklch(43.7% 0.126 344.4);
Tailwind
colors: {
  custom: {
    50: '#a76c8e',
    500: '#7f2f62',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f62;
$custom-light: #a76c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f62",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 98
  },
  "hsl": {
    "h": 321.75,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43689,
    "c": 0.12607,
    "h": 344.4
  },
  "luminance": 0.07427
}

Semantic roles & 50–950 ramp

primary
#7F2F62
secondary
#5EAC7A
accent
#D68252
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7F2F62

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

Preview Lab → · Contrast checker → · Palette generator →

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