#7F2D66#7F2D66

#7F2D66 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.6% C 0.132 H 341.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#7F2D66
RGBrgb(127, 45, 102)
HSLhsl(318, 48%, 34%)
HSVhsv(318, 65%, 50%)
CMYKcmyk(0%, 64.6%, 19.7%, 50.2%)
CIE-LABlab(32.59, 42.02, -15.58)
CIE-LCHlch(32.59, 44.82, 339.65°)
OKLaboklab(43.62% 0.1252 -0.0418)
OKLCHoklch(43.62% 0.132 341.6)
XYZxyz(12.0894, 7.3492, 13.3496)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D66 #2D7F46
analogous
#6F2D7F #7F2D66 #7F2D3D
triadic
#7F2D66 #667F2D #2D667F
tetradic
#7F2D66 #7F6F2D #2D7F46 #2D3D7F
square
#7F2D66 #7F6F2D #2D7F46 #2D3D7F
split-complementary
#7F2D66 #3D7F2D #2D7F6F
monochromatic
#250D1D #521D42 #7F2D66 #AC3D8A #C760A7

Accessibility & contrast

On white

8.50
#7F2D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7F2D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2D66
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D66#FFFFFF#000000##FFFFFF
##7F2D661.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334468
Deuteranopia (green-blind)
#4B5264
Tritanopia (blue-blind)
#872E45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2d66;
/* rgb */ color: rgb(127, 45, 102);
/* oklch */ color: oklch(43.6% 0.132 341.6);
Tailwind
colors: {
  custom: {
    50: '#a76c91',
    500: '#7f2d66',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d66;
$custom-light: #a76c91;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d66",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 318.293,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43618,
    "c": 0.13202,
    "h": 341.6
  },
  "luminance": 0.07348
}

Semantic roles & 50–950 ramp

primary
#7F2D66
secondary
#5BAD74
accent
#D77A51
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070D
muted
#7F7A7D

Preview Lab

Preview with #7F2D66

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

Preview Lab → · Contrast checker → · Palette generator →

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