#7D2545#7D2545

#7D2545 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.0% C 0.124 H 2.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#7D2545
RGBrgb(125, 37, 69)
HSLhsl(338, 54%, 32%)
HSVhsv(338, 70%, 49%)
CMYKcmyk(0%, 70.4%, 44.8%, 51%)
CIE-LABlab(29.70, 40.58, 1.55)
CIE-LCHlch(29.70, 40.61, 2.18°)
OKLaboklab(41.01% 0.1242 0.0045)
OKLCHoklch(41.01% 0.124 2.1)
XYZxyz(10.1939, 6.1140, 6.2724)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2545 #257D5D
analogous
#7D2571 #7D2545 #7D3125
triadic
#7D2545 #457D25 #25457D
tetradic
#7D2545 #717D25 #257D5D #31257D
square
#7D2545 #717D25 #257D5D #31257D
split-complementary
#7D2545 #257D31 #25717D
monochromatic
#1F0911 #4E172B #7D2545 #AC335F #CB517D

Accessibility & contrast

On white

9.45
#7D2545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7D2545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2545
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2545#FFFFFF#000000##FFFFFF
##7D25451.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373B46
Deuteranopia (green-blind)
#4F4C43
Tritanopia (blue-blind)
#881932
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d2545;
/* rgb */ color: rgb(125, 37, 69);
/* oklch */ color: oklch(41.0% 0.124 2.1);
Tailwind
colors: {
  custom: {
    50: '#a76678',
    500: '#7d2545',
    950: '#000000',
  },
}
SCSS
$custom: #7d2545;
$custom-light: #a76678;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2545",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 69
  },
  "hsl": {
    "h": 338.182,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41012,
    "c": 0.12425,
    "h": 2.1
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#7D2545
secondary
#4FAF8C
accent
#DEA84A
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D2545

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

Preview Lab → · Contrast checker → · Palette generator →

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