#7D2045#7D2045

#7D2045 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.131 H 0.8°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7D2045
RGBrgb(125, 32, 69)
HSLhsl(336, 59%, 31%)
HSVhsv(336, 74%, 49%)
CMYKcmyk(0%, 74.4%, 44.8%, 51%)
CIE-LABlab(28.96, 42.62, 0.48)
CIE-LCHlch(28.96, 42.62, 0.65°)
OKLaboklab(40.47% 0.1306 0.0017)
OKLCHoklch(40.47% 0.131 0.8)
XYZxyz(10.0489, 5.8239, 6.2240)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2045 #207D58
analogous
#7D2073 #7D2045 #7D2920
triadic
#7D2045 #457D20 #20457D
tetradic
#7D2045 #737D20 #207D58 #29207D
square
#7D2045 #737D20 #207D58 #29207D
split-complementary
#7D2045 #207D29 #20737D
monochromatic
#1C070F #4C142A #7D2045 #AE2C60 #D0477E

Accessibility & contrast

On white

9.70
#7D2045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7D2045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2045
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2045#FFFFFF#000000##FFFFFF
##7D20451.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343946
Deuteranopia (green-blind)
#4D4B43
Tritanopia (blue-blind)
#881230
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d2045;
/* rgb */ color: rgb(125, 32, 69);
/* oklch */ color: oklch(40.5% 0.131 0.8);
Tailwind
colors: {
  custom: {
    50: '#a76478',
    500: '#7d2045',
    950: '#000000',
  },
}
SCSS
$custom: #7d2045;
$custom-light: #a76478;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2045",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 336.129,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40469,
    "c": 0.13065,
    "h": 0.8
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#7D2045
secondary
#49B087
accent
#E2A445
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D2045

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

Preview Lab → · Contrast checker → · Palette generator →

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