#7C2F68#7C2F68

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

Color values

HEX#7C2F68
RGBrgb(124, 47, 104)
HSLhsl(316, 45%, 34%)
HSVhsv(316, 62%, 49%)
CMYKcmyk(0%, 62.1%, 16.1%, 51.4%)
CIE-LABlab(32.52, 40.48, -17.01)
CIE-LCHlch(32.52, 43.91, 337.21°)
OKLaboklab(43.5% 0.1195 -0.0458)
OKLCHoklch(43.5% 0.128 339)
XYZxyz(11.8276, 7.3186, 13.8837)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2F68 #2F7C43
analogous
#692F7C #7C2F68 #7C2F41
triadic
#7C2F68 #687C2F #2F687C
tetradic
#7C2F68 #7C692F #2F7C43 #2F417C
square
#7C2F68 #7C692F #2F7C43 #2F417C
split-complementary
#7C2F68 #417C2F #2F7C69
monochromatic
#230D1E #501E43 #7C2F68 #A8408D #C362AA

Accessibility & contrast

On white

8.52
#7C2F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C2F68
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2F68#FFFFFF#000000##FFFFFF
##7C2F681.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32456A
Deuteranopia (green-blind)
#495166
Tritanopia (blue-blind)
#833147
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c2f68;
/* rgb */ color: rgb(124, 47, 104);
/* oklch */ color: oklch(43.5% 0.128 339.0);
Tailwind
colors: {
  custom: {
    50: '#a46c93',
    500: '#7c2f68',
    950: '#000000',
  },
}
SCSS
$custom: #7c2f68;
$custom-light: #a46c93;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2f68",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 315.584,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43498,
    "c": 0.12797,
    "h": 339
  },
  "luminance": 0.07318
}

Semantic roles & 50–950 ramp

primary
#7C2F68
secondary
#5CAA71
accent
#D57553
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #7C2F68

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

Preview Lab → · Contrast checker → · Palette generator →

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