#7C2F62#7C2F62

#7C2F62 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.2% C 0.123 H 343.0°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#7C2F62
RGBrgb(124, 47, 98)
HSLhsl(320, 45%, 34%)
HSVhsv(320, 62%, 49%)
CMYKcmyk(0%, 62.1%, 21%, 51.4%)
CIE-LABlab(32.26, 39.52, -13.57)
CIE-LCHlch(32.26, 41.79, 341.05°)
OKLaboklab(43.22% 0.1181 -0.0362)
OKLCHoklch(43.22% 0.124 343)
XYZxyz(11.5336, 7.2010, 12.3354)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2F62 #2F7C49
analogous
#6F2F7C #7C2F62 #7C2F3B
triadic
#7C2F62 #627C2F #2F627C
tetradic
#7C2F62 #7C6F2F #2F7C49 #2F3B7C
square
#7C2F62 #7C6F2F #2F7C49 #2F3B7C
split-complementary
#7C2F62 #3B7C2F #2F7C6F
monochromatic
#230D1C #501E3F #7C2F62 #A84085 #C362A3

Accessibility & contrast

On white

8.61
#7C2F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7C2F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2F62
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2F62#FFFFFF#000000##FFFFFF
##7C2F621.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354464
Deuteranopia (green-blind)
#4B5160
Tritanopia (blue-blind)
#842F44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c2f62;
/* rgb */ color: rgb(124, 47, 98);
/* oklch */ color: oklch(43.2% 0.123 343.0);
Tailwind
colors: {
  custom: {
    50: '#a46c8e',
    500: '#7c2f62',
    950: '#000000',
  },
}
SCSS
$custom: #7c2f62;
$custom-light: #a46c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2f62",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 98
  },
  "hsl": {
    "h": 320.26,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4322,
    "c": 0.1235,
    "h": 343
  },
  "luminance": 0.072
}

Semantic roles & 50–950 ramp

primary
#7C2F62
secondary
#5CAA77
accent
#D57F53
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7C2F62

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

Preview Lab → · Contrast checker → · Palette generator →

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