#7D2540#7D2540

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

Color values

HEX#7D2540
RGBrgb(125, 37, 64)
HSLhsl(342, 54%, 32%)
HSVhsv(342, 70%, 49%)
CMYKcmyk(0%, 70.4%, 48.8%, 51%)
CIE-LABlab(29.55, 40.06, 4.65)
CIE-LCHlch(29.55, 40.33, 6.62°)
OKLaboklab(40.85% 0.1222 0.0123)
OKLCHoklch(40.85% 0.123 5.7)
XYZxyz(10.0452, 6.0546, 5.4892)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2540 #257D62
analogous
#7D256C #7D2540 #7D3625
triadic
#7D2540 #407D25 #25407D
tetradic
#7D2540 #6C7D25 #257D62 #36257D
square
#7D2540 #6C7D25 #257D62 #36257D
split-complementary
#7D2540 #257D36 #256C7D
monochromatic
#1F0910 #4E1728 #7D2540 #AC3358 #CB5177

Accessibility & contrast

On white

9.50
#7D2540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2540
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2540#FFFFFF#000000##FFFFFF
##7D25401.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B41
Deuteranopia (green-blind)
#504C3E
Tritanopia (blue-blind)
#881730
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d2540;
/* rgb */ color: rgb(125, 37, 64);
/* oklch */ color: oklch(40.9% 0.123 5.7);
Tailwind
colors: {
  custom: {
    50: '#a76674',
    500: '#7d2540',
    950: '#000000',
  },
}
SCSS
$custom: #7d2540;
$custom-light: #a76674;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2540",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 64
  },
  "hsl": {
    "h": 341.591,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40853,
    "c": 0.12284,
    "h": 5.7
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#7D2540
secondary
#4FAF92
accent
#DEB04A
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7D2540

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

Preview Lab → · Contrast checker → · Palette generator →

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