#7C2A4E#7C2A4E

#7C2A4E is a dark, moderate pink. Relative luminance 0.065; OKLCH L 41.8% C 0.120 H 356.4°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7C2A4E
RGBrgb(124, 42, 78)
HSLhsl(334, 49%, 33%)
HSVhsv(334, 66%, 49%)
CMYKcmyk(0%, 66.1%, 37.1%, 51.4%)
CIE-LABlab(30.62, 39.08, -3.05)
CIE-LCHlch(30.62, 39.20, 355.53°)
OKLaboklab(41.76% 0.1194 -0.0075)
OKLCHoklch(41.76% 0.12 356.4)
XYZxyz(10.5159, 6.4922, 7.9056)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2A4E #2A7C58
analogous
#7C2A77 #7C2A4E #7C2F2A
triadic
#7C2A4E #4E7C2A #2A4E7C
tetradic
#7C2A4E #777C2A #2A7C58 #2F2A7C
square
#7C2A4E #777C2A #2A7C58 #2F2A7C
split-complementary
#7C2A4E #2A7C2F #2A777C
monochromatic
#210B14 #4E1B31 #7C2A4E #AA396B #C7598A

Accessibility & contrast

On white

9.14
#7C2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7C2A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2A4E
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2A4E#FFFFFF#000000##FFFFFF
##7C2A4E1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383E4F
Deuteranopia (green-blind)
#4E4E4C
Tritanopia (blue-blind)
#862338
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c2a4e;
/* rgb */ color: rgb(124, 42, 78);
/* oklch */ color: oklch(41.8% 0.120 356.4);
Tailwind
colors: {
  custom: {
    50: '#a5697f',
    500: '#7c2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #7c2a4e;
$custom-light: #a5697f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2a4e",
  "rgb": {
    "r": 124,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 333.659,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41757,
    "c": 0.11963,
    "h": 356.4
  },
  "luminance": 0.06491
}

Semantic roles & 50–950 ramp

primary
#7C2A4E
secondary
#55AD86
accent
#D99C4F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7C2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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