#7D2247#7D2247

#7D2247 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.7% C 0.129 H 359.8°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7D2247
RGBrgb(125, 34, 71)
HSLhsl(336, 57%, 31%)
HSVhsv(336, 73%, 49%)
CMYKcmyk(0%, 72.8%, 43.2%, 51%)
CIE-LABlab(29.31, 42.04, -0.34)
CIE-LCHlch(29.31, 42.05, 359.54°)
OKLaboklab(40.75% 0.1289 -0.0004)
OKLCHoklch(40.75% 0.129 359.8)
XYZxyz(10.1675, 5.9602, 6.5750)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2247 #227D58
analogous
#7D2274 #7D2247 #7D2A22
triadic
#7D2247 #477D22 #22477D
tetradic
#7D2247 #747D22 #227D58 #2A227D
square
#7D2247 #747D22 #227D58 #2A227D
split-complementary
#7D2247 #227D2A #22747D
monochromatic
#1D0810 #4D152C #7D2247 #AD2F62 #CE4B80

Accessibility & contrast

On white

9.58
#7D2247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7D2247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2247
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2247#FFFFFF#000000##FFFFFF
##7D22471.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353A48
Deuteranopia (green-blind)
#4D4B45
Tritanopia (blue-blind)
#881631
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d2247;
/* rgb */ color: rgb(125, 34, 71);
/* oklch */ color: oklch(40.7% 0.129 359.8);
Tailwind
colors: {
  custom: {
    50: '#a7657a',
    500: '#7d2247',
    950: '#000000',
  },
}
SCSS
$custom: #7d2247;
$custom-light: #a7657a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2247",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 335.604,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40747,
    "c": 0.12886,
    "h": 359.8
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#7D2247
secondary
#4BB087
accent
#E0A247
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D2247

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

Preview Lab → · Contrast checker → · Palette generator →

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