#7D214C#7D214C

#7D214C is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.8% C 0.132 H 356.1°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#7D214C
RGBrgb(125, 33, 76)
HSLhsl(332, 58%, 31%)
HSVhsv(332, 74%, 49%)
CMYKcmyk(0%, 73.6%, 39.2%, 51%)
CIE-LABlab(29.34, 43.01, -3.62)
CIE-LCHlch(29.34, 43.16, 355.19°)
OKLaboklab(40.82% 0.1319 -0.009)
OKLCHoklch(40.82% 0.132 356.1)
XYZxyz(10.3065, 5.9707, 7.4458)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D214C #217D52
analogous
#7D217A #7D214C #7D2421
triadic
#7D214C #4C7D21 #214C7D
tetradic
#7D214C #7A7D21 #217D52 #24217D
square
#7D214C #7A7D21 #217D52 #24217D
split-complementary
#7D214C #217D24 #217A7D
monochromatic
#1C0711 #4D142F #7D214C #AD2E69 #CF4988

Accessibility & contrast

On white

9.57
#7D214C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D214C
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D214C#FFFFFF#000000##FFFFFF
##7D214C1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323A4D
Deuteranopia (green-blind)
#4C4B4A
Tritanopia (blue-blind)
#871733
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d214c;
/* rgb */ color: rgb(125, 33, 76);
/* oklch */ color: oklch(40.8% 0.132 356.1);
Tailwind
colors: {
  custom: {
    50: '#a7647e',
    500: '#7d214c',
    950: '#000000',
  },
}
SCSS
$custom: #7d214c;
$custom-light: #a7647e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d214c",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 76
  },
  "hsl": {
    "h": 331.957,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40822,
    "c": 0.13215,
    "h": 356.1
  },
  "luminance": 0.05969
}

Semantic roles & 50–950 ramp

primary
#7D214C
secondary
#4AB080
accent
#E19946
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D214C

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

Preview Lab → · Contrast checker → · Palette generator →

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