#7F2E52#7F2E52

#7F2E52 is a dark, moderate pink. Relative luminance 0.071; OKLCH L 42.9% C 0.118 H 355.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7F2E52
RGBrgb(127, 46, 82)
HSLhsl(333, 47%, 34%)
HSVhsv(333, 64%, 50%)
CMYKcmyk(0%, 63.8%, 35.4%, 50.2%)
CIE-LABlab(31.98, 38.70, -3.60)
CIE-LCHlch(31.98, 38.87, 354.69°)
OKLaboklab(42.91% 0.1181 -0.009)
OKLCHoklch(42.91% 0.118 355.7)
XYZxyz(11.2530, 7.0764, 8.7543)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E52 #2E7F5B
analogous
#7F2E7B #7F2E52 #7F332E
triadic
#7F2E52 #527F2E #2E527F
tetradic
#7F2E52 #7B7F2E #2E7F5B #332E7F
square
#7F2E52 #7B7F2E #2E7F5B #332E7F
split-complementary
#7F2E52 #2E7F33 #2E7B7F
monochromatic
#250D18 #521E35 #7F2E52 #AC3E6F #C6618E

Accessibility & contrast

On white

8.70
#7F2E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7F2E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2E52
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E52#FFFFFF#000000##FFFFFF
##7F2E521.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4253
Deuteranopia (green-blind)
#515150
Tritanopia (blue-blind)
#89283C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f2e52;
/* rgb */ color: rgb(127, 46, 82);
/* oklch */ color: oklch(42.9% 0.118 355.7);
Tailwind
colors: {
  custom: {
    50: '#a76c82',
    500: '#7f2e52',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e52;
$custom-light: #a76c82;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e52",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 333.333,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42912,
    "c": 0.11841,
    "h": 355.7
  },
  "luminance": 0.07075
}

Semantic roles & 50–950 ramp

primary
#7F2E52
secondary
#5CAD89
accent
#D69B51
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F2E52

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

Preview Lab → · Contrast checker → · Palette generator →

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