#7D2047#7D2047

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

Color values

HEX#7D2047
RGBrgb(125, 32, 71)
HSLhsl(335, 59%, 31%)
HSVhsv(335, 74%, 49%)
CMYKcmyk(0%, 74.4%, 43.2%, 51%)
CIE-LABlab(29.03, 42.83, -0.76)
CIE-LCHlch(29.03, 42.84, 358.99°)
OKLaboklab(40.54% 0.1314 -0.0015)
OKLCHoklch(40.54% 0.131 359.4)
XYZxyz(10.1120, 5.8492, 6.5565)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2047 #207D56
analogous
#7D2075 #7D2047 #7D2720
triadic
#7D2047 #477D20 #20477D
tetradic
#7D2047 #757D20 #207D56 #27207D
square
#7D2047 #757D20 #207D56 #27207D
split-complementary
#7D2047 #207D27 #20757D
monochromatic
#1C0710 #4C142B #7D2047 #AE2C63 #D04781

Accessibility & contrast

On white

9.68
#7D2047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7D2047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2047
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2047#FFFFFF#000000##FFFFFF
##7D20471.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333948
Deuteranopia (green-blind)
#4D4B45
Tritanopia (blue-blind)
#881330
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d2047;
/* rgb */ color: rgb(125, 32, 71);
/* oklch */ color: oklch(40.5% 0.131 359.4);
Tailwind
colors: {
  custom: {
    50: '#a7647a',
    500: '#7d2047',
    950: '#000000',
  },
}
SCSS
$custom: #7d2047;
$custom-light: #a7647a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2047",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 71
  },
  "hsl": {
    "h": 334.839,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40538,
    "c": 0.13138,
    "h": 359.4
  },
  "luminance": 0.05848
}

Semantic roles & 50–950 ramp

primary
#7D2047
secondary
#49B085
accent
#E2A145
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D2047

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

Preview Lab → · Contrast checker → · Palette generator →

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