#7D2541#7D2541

#7D2541 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 40.9% C 0.123 H 5.0°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7D2541
RGBrgb(125, 37, 65)
HSLhsl(341, 54%, 32%)
HSVhsv(341, 70%, 49%)
CMYKcmyk(0%, 70.4%, 48%, 51%)
CIE-LABlab(29.58, 40.16, 4.03)
CIE-LCHlch(29.58, 40.37, 5.73°)
OKLaboklab(40.88% 0.1226 0.0107)
OKLCHoklch(40.88% 0.123 5)
XYZxyz(10.0739, 6.0660, 5.6404)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2541 #257D61
analogous
#7D256D #7D2541 #7D3525
triadic
#7D2541 #417D25 #25417D
tetradic
#7D2541 #6D7D25 #257D61 #35257D
square
#7D2541 #6D7D25 #257D61 #35257D
split-complementary
#7D2541 #257D35 #256D7D
monochromatic
#1F0910 #4E1728 #7D2541 #AC335A #CB5178

Accessibility & contrast

On white

9.49
#7D2541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7D2541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2541
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2541#FFFFFF#000000##FFFFFF
##7D25411.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B42
Deuteranopia (green-blind)
#504C3F
Tritanopia (blue-blind)
#881830
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d2541;
/* rgb */ color: rgb(125, 37, 65);
/* oklch */ color: oklch(40.9% 0.123 5.0);
Tailwind
colors: {
  custom: {
    50: '#a76675',
    500: '#7d2541',
    950: '#000000',
  },
}
SCSS
$custom: #7d2541;
$custom-light: #a76675;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2541",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 65
  },
  "hsl": {
    "h": 340.909,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40884,
    "c": 0.12309,
    "h": 5
  },
  "luminance": 0.06065
}

Semantic roles & 50–950 ramp

primary
#7D2541
secondary
#4FAF90
accent
#DEAF4A
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7D2541

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

Preview Lab → · Contrast checker → · Palette generator →

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