#7C2E4F#7C2E4F

#7C2E4F is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.3% C 0.114 H 356.8°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7C2E4F
RGBrgb(124, 46, 79)
HSLhsl(335, 46%, 33%)
HSVhsv(335, 63%, 49%)
CMYKcmyk(0%, 62.9%, 36.3%, 51.4%)
CIE-LABlab(31.36, 37.30, -2.62)
CIE-LCHlch(31.36, 37.40, 355.98°)
OKLaboklab(42.32% 0.1138 -0.0064)
OKLCHoklch(42.32% 0.114 356.8)
XYZxyz(10.7010, 6.8047, 8.1455)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2E4F #2E7C5B
analogous
#7C2E76 #7C2E4F #7C342E
triadic
#7C2E4F #4F7C2E #2E4F7C
tetradic
#7C2E4F #767C2E #2E7C5B #342E7C
square
#7C2E4F #767C2E #2E7C5B #342E7C
split-complementary
#7C2E4F #2E7C34 #2E767C
monochromatic
#230D16 #4F1D33 #7C2E4F #A93F6B #C4608B

Accessibility & contrast

On white

8.90
#7C2E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7C2E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2E4F
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2E4F#FFFFFF#000000##FFFFFF
##7C2E4F1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4150
Deuteranopia (green-blind)
#504F4D
Tritanopia (blue-blind)
#86283B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c2e4f;
/* rgb */ color: rgb(124, 46, 79);
/* oklch */ color: oklch(42.3% 0.114 356.8);
Tailwind
colors: {
  custom: {
    50: '#a56b80',
    500: '#7c2e4f',
    950: '#000000',
  },
}
SCSS
$custom: #7c2e4f;
$custom-light: #a56b80;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2e4f",
  "rgb": {
    "r": 124,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 334.615,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42315,
    "c": 0.11397,
    "h": 356.8
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#7C2E4F
secondary
#5BAB89
accent
#D69E52
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7C2E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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