#7D215F#7D215F

#7D215F is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.143 H 343.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#7D215F
RGBrgb(125, 33, 95)
HSLhsl(320, 58%, 31%)
HSVhsv(320, 74%, 49%)
CMYKcmyk(0%, 73.6%, 24%, 51%)
CIE-LABlab(30.10, 45.47, -14.93)
CIE-LCHlch(30.10, 47.86, 341.82°)
OKLaboklab(41.63% 0.137 -0.0399)
OKLCHoklch(41.63% 0.143 343.8)
XYZxyz(11.0673, 6.2750, 11.4526)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D215F #217D3F
analogous
#6D217D #7D215F #7D2131
triadic
#7D215F #5F7D21 #215F7D
tetradic
#7D215F #7D6D21 #217D3F #21317D
square
#7D215F #7D6D21 #217D3F #21317D
split-complementary
#7D215F #317D21 #217D6D
monochromatic
#1C0715 #4D143A #7D215F #AD2E84 #CF49A3

Accessibility & contrast

On white

9.31
#7D215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7D215F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D215F
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D215F#FFFFFF#000000##FFFFFF
##7D215F1.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D61
Deuteranopia (green-blind)
#474C5D
Tritanopia (blue-blind)
#85213D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d215f;
/* rgb */ color: rgb(125, 33, 95);
/* oklch */ color: oklch(41.6% 0.143 343.8);
Tailwind
colors: {
  custom: {
    50: '#a6658c',
    500: '#7d215f',
    950: '#000000',
  },
}
SCSS
$custom: #7d215f;
$custom-light: #a6658c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d215f",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 319.565,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41625,
    "c": 0.14271,
    "h": 343.8
  },
  "luminance": 0.06274
}

Semantic roles & 50–950 ramp

primary
#7D215F
secondary
#4AB06B
accent
#E17946
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D215F

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

Preview Lab → · Contrast checker → · Palette generator →

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