#7C2A67#7C2A67

#7C2A67 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.8% C 0.135 H 339.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#7C2A67
RGBrgb(124, 42, 103)
HSLhsl(315, 49%, 33%)
HSVhsv(315, 66%, 49%)
CMYKcmyk(0%, 66.1%, 16.9%, 51.4%)
CIE-LABlab(31.63, 42.64, -17.75)
CIE-LCHlch(31.63, 46.19, 337.40°)
OKLaboklab(42.83% 0.1262 -0.0479)
OKLCHoklch(42.83% 0.135 339.2)
XYZxyz(11.5886, 6.9213, 13.5549)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2A67 #2A7C3F
analogous
#682A7C #7C2A67 #7C2A3E
triadic
#7C2A67 #677C2A #2A677C
tetradic
#7C2A67 #7C682A #2A7C3F #2A3E7C
square
#7C2A67 #7C682A #2A7C3F #2A3E7C
split-complementary
#7C2A67 #3E7C2A #2A7C68
monochromatic
#210B1B #4E1B41 #7C2A67 #AA398D #C759AB

Accessibility & contrast

On white

8.81
#7C2A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7C2A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2A67
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2A67#FFFFFF#000000##FFFFFF
##7C2A671.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4269
Deuteranopia (green-blind)
#474F65
Tritanopia (blue-blind)
#832D44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c2a67;
/* rgb */ color: rgb(124, 42, 103);
/* oklch */ color: oklch(42.8% 0.135 339.2);
Tailwind
colors: {
  custom: {
    50: '#a56a92',
    500: '#7c2a67',
    950: '#000000',
  },
}
SCSS
$custom: #7c2a67;
$custom-light: #a56a92;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2a67",
  "rgb": {
    "r": 124,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 315.366,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42827,
    "c": 0.13499,
    "h": 339.2
  },
  "luminance": 0.0692
}

Semantic roles & 50–950 ramp

primary
#7C2A67
secondary
#55AD6C
accent
#D9724F
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7C2A67

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

Preview Lab → · Contrast checker → · Palette generator →

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