#7F2D63#7F2D63

#7F2D63 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.5% C 0.130 H 343.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7F2D63
RGBrgb(127, 45, 99)
HSLhsl(320, 48%, 34%)
HSVhsv(320, 65%, 50%)
CMYKcmyk(0%, 64.6%, 22%, 50.2%)
CIE-LABlab(32.46, 41.56, -13.86)
CIE-LCHlch(32.46, 43.81, 341.56°)
OKLaboklab(43.48% 0.1245 -0.0369)
OKLCHoklch(43.48% 0.13 343.5)
XYZxyz(11.9433, 7.2908, 12.5802)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D63 #2D7F49
analogous
#722D7F #7F2D63 #7F2D3A
triadic
#7F2D63 #637F2D #2D637F
tetradic
#7F2D63 #7F722D #2D7F49 #2D3A7F
square
#7F2D63 #7F722D #2D7F49 #2D3A7F
split-complementary
#7F2D63 #3A7F2D #2D7F72
monochromatic
#250D1D #521D40 #7F2D63 #AC3D86 #C760A3

Accessibility & contrast

On white

8.54
#7F2D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7F2D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2D63
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D63#FFFFFF#000000##FFFFFF
##7F2D631.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344465
Deuteranopia (green-blind)
#4C5161
Tritanopia (blue-blind)
#872D44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f2d63;
/* rgb */ color: rgb(127, 45, 99);
/* oklch */ color: oklch(43.5% 0.130 343.5);
Tailwind
colors: {
  custom: {
    50: '#a76b8f',
    500: '#7f2d63',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d63;
$custom-light: #a76b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d63",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 320.488,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43481,
    "c": 0.12989,
    "h": 343.5
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#7F2D63
secondary
#5BAD77
accent
#D77F51
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7F2D63

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

Preview Lab → · Contrast checker → · Palette generator →

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