#7C2E52#7C2E52

#7C2E52 is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.4% C 0.115 H 354.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#7C2E52
RGBrgb(124, 46, 82)
HSLhsl(332, 46%, 33%)
HSVhsv(332, 63%, 49%)
CMYKcmyk(0%, 62.9%, 33.9%, 51.4%)
CIE-LABlab(31.46, 37.70, -4.42)
CIE-LCHlch(31.46, 37.95, 353.31°)
OKLaboklab(42.43% 0.1148 -0.0112)
OKLCHoklch(42.43% 0.115 354.4)
XYZxyz(10.8127, 6.8494, 8.7336)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2E52 #2E7C58
analogous
#7C2E79 #7C2E52 #7C312E
triadic
#7C2E52 #527C2E #2E527C
tetradic
#7C2E52 #797C2E #2E7C58 #312E7C
square
#7C2E52 #797C2E #2E7C58 #312E7C
split-complementary
#7C2E52 #2E7C31 #2E797C
monochromatic
#230D17 #4F1D34 #7C2E52 #A93F70 #C4608E

Accessibility & contrast

On white

8.86
#7C2E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C2E52
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2E52#FFFFFF#000000##FFFFFF
##7C2E521.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4153
Deuteranopia (green-blind)
#4F4F50
Tritanopia (blue-blind)
#85293C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c2e52;
/* rgb */ color: rgb(124, 46, 82);
/* oklch */ color: oklch(42.4% 0.115 354.4);
Tailwind
colors: {
  custom: {
    50: '#a56b82',
    500: '#7c2e52',
    950: '#000000',
  },
}
SCSS
$custom: #7c2e52;
$custom-light: #a56b82;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2e52",
  "rgb": {
    "r": 124,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 332.308,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42426,
    "c": 0.11537,
    "h": 354.4
  },
  "luminance": 0.06848
}

Semantic roles & 50–950 ramp

primary
#7C2E52
secondary
#5BAB86
accent
#D69952
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7C2E52

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

Preview Lab → · Contrast checker → · Palette generator →

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