#7D214F#7D214F

#7D214F is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.134 H 354.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7D214F
RGBrgb(125, 33, 79)
HSLhsl(330, 58%, 31%)
HSVhsv(330, 74%, 49%)
CMYKcmyk(0%, 73.6%, 36.8%, 51%)
CIE-LABlab(29.45, 43.36, -5.44)
CIE-LCHlch(29.45, 43.70, 352.85°)
OKLaboklab(40.94% 0.1328 -0.0138)
OKLCHoklch(40.94% 0.134 354.1)
XYZxyz(10.4132, 6.0134, 8.0080)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D214F #217D4F
analogous
#7D217D #7D214F #7D2121
triadic
#7D214F #4F7D21 #214F7D
tetradic
#7D214F #7D7D21 #217D4F #21217D
square
#7D214F #7D7D21 #217D4F #21217D
split-complementary
#7D214F #217D21 #217D7D
monochromatic
#1C0712 #4D1430 #7D214F #AD2E6E #CF498C

Accessibility & contrast

On white

9.54
#7D214F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7D214F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D214F
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D214F#FFFFFF#000000##FFFFFF
##7D214F1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313B50
Deuteranopia (green-blind)
#4B4C4D
Tritanopia (blue-blind)
#871935
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d214f;
/* rgb */ color: rgb(125, 33, 79);
/* oklch */ color: oklch(40.9% 0.134 354.1);
Tailwind
colors: {
  custom: {
    50: '#a76580',
    500: '#7d214f',
    950: '#000000',
  },
}
SCSS
$custom: #7d214f;
$custom-light: #a76580;
$custom-dark: #000000;
JSON
{
  "hex": "#7d214f",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 79
  },
  "hsl": {
    "h": 330,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40937,
    "c": 0.13354,
    "h": 354.1
  },
  "luminance": 0.06012
}

Semantic roles & 50–950 ramp

primary
#7D214F
secondary
#4AB07D
accent
#E19446
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D214F

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

Preview Lab → · Contrast checker → · Palette generator →

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