#7C2541#7C2541

#7C2541 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.7% C 0.122 H 4.7°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#7C2541
RGBrgb(124, 37, 65)
HSLhsl(341, 54%, 32%)
HSVhsv(341, 70%, 49%)
CMYKcmyk(0%, 70.2%, 47.6%, 51.4%)
CIE-LABlab(29.39, 39.83, 3.73)
CIE-LCHlch(29.39, 40.01, 5.35°)
OKLaboklab(40.71% 0.1216 0.01)
OKLCHoklch(40.71% 0.122 4.7)
XYZxyz(9.9286, 5.9911, 5.6336)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2541 #257C60
analogous
#7C256D #7C2541 #7C3525
triadic
#7C2541 #417C25 #25417C
tetradic
#7C2541 #6D7C25 #257C60 #35257C
square
#7C2541 #6D7C25 #257C60 #35257C
split-complementary
#7C2541 #257C35 #256D7C
monochromatic
#1E0910 #4D1728 #7C2541 #AB335A #CB5078

Accessibility & contrast

On white

9.55
#7C2541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7C2541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2541
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2541#FFFFFF#000000##FFFFFF
##7C25411.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383A42
Deuteranopia (green-blind)
#4F4C3F
Tritanopia (blue-blind)
#871830
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c2541;
/* rgb */ color: rgb(124, 37, 65);
/* oklch */ color: oklch(40.7% 0.122 4.7);
Tailwind
colors: {
  custom: {
    50: '#a66675',
    500: '#7c2541',
    950: '#000000',
  },
}
SCSS
$custom: #7c2541;
$custom-light: #a66675;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2541",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 65
  },
  "hsl": {
    "h": 340.69,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40709,
    "c": 0.12205,
    "h": 4.7
  },
  "luminance": 0.0599
}

Semantic roles & 50–950 ramp

primary
#7C2541
secondary
#4FAE8F
accent
#DDAE4A
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7C2541

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

Preview Lab → · Contrast checker → · Palette generator →

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