#7F2B53#7F2B53

#7F2B53 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.6% C 0.123 H 354.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7F2B53
RGBrgb(127, 43, 83)
HSLhsl(331, 49%, 33%)
HSVhsv(331, 66%, 50%)
CMYKcmyk(0%, 66.1%, 34.6%, 50.2%)
CIE-LABlab(31.50, 40.23, -4.96)
CIE-LCHlch(31.50, 40.54, 352.97°)
OKLaboklab(42.57% 0.1228 -0.0126)
OKLCHoklch(42.57% 0.123 354.1)
XYZxyz(11.1782, 6.8655, 8.9184)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B53 #2B7F57
analogous
#7F2B7D #7F2B53 #7F2D2B
triadic
#7F2B53 #537F2B #2B537F
tetradic
#7F2B53 #7D7F2B #2B7F57 #2D2B7F
square
#7F2B53 #7D7F2B #2B7F57 #2D2B7F
split-complementary
#7F2B53 #2B7F2D #2B7D7F
monochromatic
#240C17 #511C35 #7F2B53 #AD3A71 #C85C90

Accessibility & contrast

On white

8.85
#7F2B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7F2B53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B53
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B53#FFFFFF#000000##FFFFFF
##7F2B531.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384054
Deuteranopia (green-blind)
#4F5051
Tritanopia (blue-blind)
#89253B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f2b53;
/* rgb */ color: rgb(127, 43, 83);
/* oklch */ color: oklch(42.6% 0.123 354.1);
Tailwind
colors: {
  custom: {
    50: '#a76a83',
    500: '#7f2b53',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b53;
$custom-light: #a76a83;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b53",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 83
  },
  "hsl": {
    "h": 331.429,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42567,
    "c": 0.12342,
    "h": 354.1
  },
  "luminance": 0.06864
}

Semantic roles & 50–950 ramp

primary
#7F2B53
secondary
#58AE85
accent
#D9974F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F2B53

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

Preview Lab → · Contrast checker → · Palette generator →

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