#7D214E#7D214E

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

Color values

HEX#7D214E
RGBrgb(125, 33, 78)
HSLhsl(331, 58%, 31%)
HSVhsv(331, 74%, 49%)
CMYKcmyk(0%, 73.6%, 37.6%, 51%)
CIE-LABlab(29.41, 43.24, -4.83)
CIE-LCHlch(29.41, 43.51, 353.62°)
OKLaboklab(40.9% 0.1325 -0.0122)
OKLCHoklch(40.9% 0.133 354.7)
XYZxyz(10.3771, 5.9990, 7.8177)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D214E #217D50
analogous
#7D217C #7D214E #7D2221
triadic
#7D214E #4E7D21 #214E7D
tetradic
#7D214E #7C7D21 #217D50 #22217D
square
#7D214E #7C7D21 #217D50 #22217D
split-complementary
#7D214E #217D22 #217C7D
monochromatic
#1C0712 #4D1430 #7D214E #AD2E6C #CF498B

Accessibility & contrast

On white

9.55
#7D214E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D214E
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D214E#FFFFFF#000000##FFFFFF
##7D214E1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323A4F
Deuteranopia (green-blind)
#4B4B4C
Tritanopia (blue-blind)
#871834
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d214e;
/* rgb */ color: rgb(125, 33, 78);
/* oklch */ color: oklch(40.9% 0.133 354.7);
Tailwind
colors: {
  custom: {
    50: '#a7647f',
    500: '#7d214e',
    950: '#000000',
  },
}
SCSS
$custom: #7d214e;
$custom-light: #a7647f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d214e",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 78
  },
  "hsl": {
    "h": 330.652,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40898,
    "c": 0.13306,
    "h": 354.7
  },
  "luminance": 0.05998
}

Semantic roles & 50–950 ramp

primary
#7D214E
secondary
#4AB07E
accent
#E19646
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D214E

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

Preview Lab → · Contrast checker → · Palette generator →

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