#7D2147#7D2147

#7D2147 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.6% C 0.130 H 359.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#7D2147
RGBrgb(125, 33, 71)
HSLhsl(335, 58%, 31%)
HSVhsv(335, 74%, 49%)
CMYKcmyk(0%, 73.6%, 43.2%, 51%)
CIE-LABlab(29.17, 42.44, -0.55)
CIE-LCHlch(29.17, 42.45, 359.26°)
OKLaboklab(40.64% 0.1301 -0.0009)
OKLCHoklch(40.64% 0.13 359.6)
XYZxyz(10.1394, 5.9039, 6.5656)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2147 #217D57
analogous
#7D2175 #7D2147 #7D2921
triadic
#7D2147 #477D21 #21477D
tetradic
#7D2147 #757D21 #217D57 #29217D
square
#7D2147 #757D21 #217D57 #29217D
split-complementary
#7D2147 #217D29 #21757D
monochromatic
#1C0710 #4D142B #7D2147 #AD2E63 #CF4981

Accessibility & contrast

On white

9.63
#7D2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7D2147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2147
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2147#FFFFFF#000000##FFFFFF
##7D21471.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2147;
/* rgb */ color: rgb(125, 33, 71);
/* oklch */ color: oklch(40.6% 0.130 359.6);
Tailwind
colors: {
  custom: {
    50: '#a7647a',
    500: '#7d2147',
    950: '#000000',
  },
}
SCSS
$custom: #7d2147;
$custom-light: #a7647a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2147",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 335.217,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40641,
    "c": 0.13013,
    "h": 359.6
  },
  "luminance": 0.05903
}

Semantic roles & 50–950 ramp

primary
#7D2147
secondary
#4AB086
accent
#E1A146
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D2147

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

Preview Lab → · Contrast checker → · Palette generator →

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