#7C2B4E#7C2B4E

#7C2B4E is a dark, moderate pink. Relative luminance 0.066; OKLCH L 41.9% C 0.118 H 356.7°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7C2B4E
RGBrgb(124, 43, 78)
HSLhsl(334, 49%, 33%)
HSVhsv(334, 65%, 49%)
CMYKcmyk(0%, 65.3%, 37.1%, 51.4%)
CIE-LABlab(30.79, 38.61, -2.80)
CIE-LCHlch(30.79, 38.71, 355.85°)
OKLaboklab(41.88% 0.1179 -0.0069)
OKLCHoklch(41.88% 0.118 356.7)
XYZxyz(10.5518, 6.5641, 7.9176)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2B4E #2B7C59
analogous
#7C2B76 #7C2B4E #7C302B
triadic
#7C2B4E #4E7C2B #2B4E7C
tetradic
#7C2B4E #767C2B #2B7C59 #302B7C
square
#7C2B4E #767C2B #2B7C59 #302B7C
split-complementary
#7C2B4E #2B7C30 #2B767C
monochromatic
#210B15 #4F1B31 #7C2B4E #A93B6B #C65B89

Accessibility & contrast

On white

9.08
#7C2B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7C2B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2B4E
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2B4E#FFFFFF#000000##FFFFFF
##7C2B4E1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393F4F
Deuteranopia (green-blind)
#4F4E4C
Tritanopia (blue-blind)
#862439
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c2b4e;
/* rgb */ color: rgb(124, 43, 78);
/* oklch */ color: oklch(41.9% 0.118 356.7);
Tailwind
colors: {
  custom: {
    50: '#a5697f',
    500: '#7c2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #7c2b4e;
$custom-light: #a5697f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2b4e",
  "rgb": {
    "r": 124,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 334.074,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41884,
    "c": 0.11813,
    "h": 356.7
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#7C2B4E
secondary
#57AC87
accent
#D89D50
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7C2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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