#7C2E58#7C2E58

#7C2E58 is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.7% C 0.119 H 349.9°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#7C2E58
RGBrgb(124, 46, 88)
HSLhsl(328, 46%, 33%)
HSVhsv(328, 63%, 49%)
CMYKcmyk(0%, 62.9%, 29%, 51.4%)
CIE-LABlab(31.68, 38.52, -7.99)
CIE-LCHlch(31.68, 39.34, 348.28°)
OKLaboklab(42.66% 0.1168 -0.0208)
OKLCHoklch(42.66% 0.119 349.9)
XYZxyz(11.0511, 6.9448, 9.9891)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2E58 #2E7C52
analogous
#792E7C #7C2E58 #7C2E31
triadic
#7C2E58 #587C2E #2E587C
tetradic
#7C2E58 #7C792E #2E7C52 #2E317C
square
#7C2E58 #7C792E #2E7C52 #2E317C
split-complementary
#7C2E58 #317C2E #2E7C79
monochromatic
#230D19 #4F1D38 #7C2E58 #A93F78 #C46096

Accessibility & contrast

On white

8.79
#7C2E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7C2E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2E58
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2E58#FFFFFF#000000##FFFFFF
##7C2E581.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384259
Deuteranopia (green-blind)
#4E5056
Tritanopia (blue-blind)
#852B3F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c2e58;
/* rgb */ color: rgb(124, 46, 88);
/* oklch */ color: oklch(42.7% 0.119 349.9);
Tailwind
colors: {
  custom: {
    50: '#a56b87',
    500: '#7c2e58',
    950: '#000000',
  },
}
SCSS
$custom: #7c2e58;
$custom-light: #a56b87;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2e58",
  "rgb": {
    "r": 124,
    "g": 46,
    "b": 88
  },
  "hsl": {
    "h": 327.692,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4266,
    "c": 0.11861,
    "h": 349.9
  },
  "luminance": 0.06944
}

Semantic roles & 50–950 ramp

primary
#7C2E58
secondary
#5BAB80
accent
#D68F52
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7C2E58

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

Preview Lab → · Contrast checker → · Palette generator →

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