#7F2D52#7F2D52

#7F2D52 is a dark, moderate pink. Relative luminance 0.070; OKLCH L 42.8% C 0.120 H 355.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7F2D52
RGBrgb(127, 45, 82)
HSLhsl(333, 48%, 34%)
HSVhsv(333, 65%, 50%)
CMYKcmyk(0%, 64.6%, 35.4%, 50.2%)
CIE-LABlab(31.81, 39.18, -3.86)
CIE-LCHlch(31.81, 39.37, 354.38°)
OKLaboklab(42.78% 0.1196 -0.0097)
OKLCHoklch(42.78% 0.12 355.4)
XYZxyz(11.2144, 6.9992, 8.7414)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D52 #2D7F5A
analogous
#7F2D7B #7F2D52 #7F312D
triadic
#7F2D52 #527F2D #2D527F
tetradic
#7F2D52 #7B7F2D #2D7F5A #312D7F
square
#7F2D52 #7B7F2D #2D7F5A #312D7F
split-complementary
#7F2D52 #2D7F31 #2D7B7F
monochromatic
#250D18 #521D35 #7F2D52 #AC3D6F #C7608E

Accessibility & contrast

On white

8.75
#7F2D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7F2D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2D52
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D52#FFFFFF#000000##FFFFFF
##7F2D521.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4153
Deuteranopia (green-blind)
#515050
Tritanopia (blue-blind)
#89273C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f2d52;
/* rgb */ color: rgb(127, 45, 82);
/* oklch */ color: oklch(42.8% 0.120 355.4);
Tailwind
colors: {
  custom: {
    50: '#a76b82',
    500: '#7f2d52',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d52;
$custom-light: #a76b82;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d52",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 332.927,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42782,
    "c": 0.11994,
    "h": 355.4
  },
  "luminance": 0.06998
}

Semantic roles & 50–950 ramp

primary
#7F2D52
secondary
#5BAD88
accent
#D79A51
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F2D52

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

Preview Lab → · Contrast checker → · Palette generator →

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