#7D214B#7D214B

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

Color values

HEX#7D214B
RGBrgb(125, 33, 75)
HSLhsl(333, 58%, 31%)
HSVhsv(333, 74%, 49%)
CMYKcmyk(0%, 73.6%, 40%, 51%)
CIE-LABlab(29.30, 42.89, -3.01)
CIE-LCHlch(29.30, 43.00, 355.99°)
OKLaboklab(40.78% 0.1315 -0.0074)
OKLCHoklch(40.78% 0.132 356.8)
XYZxyz(10.2720, 5.9569, 7.2641)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D214B #217D53
analogous
#7D2179 #7D214B #7D2521
triadic
#7D214B #4B7D21 #214B7D
tetradic
#7D214B #797D21 #217D53 #25217D
square
#7D214B #797D21 #217D53 #25217D
split-complementary
#7D214B #217D25 #21797D
monochromatic
#1C0711 #4D142E #7D214B #AD2E68 #CF4986

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D214B#FFFFFF#000000##FFFFFF
##7D214B1.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)
#333A4C
Deuteranopia (green-blind)
#4C4B49
Tritanopia (blue-blind)
#871733
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d214b;
/* rgb */ color: rgb(125, 33, 75);
/* oklch */ color: oklch(40.8% 0.132 356.8);
Tailwind
colors: {
  custom: {
    50: '#a7647d',
    500: '#7d214b',
    950: '#000000',
  },
}
SCSS
$custom: #7d214b;
$custom-light: #a7647d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d214b",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 75
  },
  "hsl": {
    "h": 332.609,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40785,
    "c": 0.13173,
    "h": 356.8
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#7D214B
secondary
#4AB081
accent
#E19B46
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D214B

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

Preview Lab → · Contrast checker → · Palette generator →

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