#7D215B#7D215B

#7D215B is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.140 H 346.2°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#7D215B
RGBrgb(125, 33, 91)
HSLhsl(322, 58%, 31%)
HSVhsv(322, 74%, 49%)
CMYKcmyk(0%, 73.6%, 27.2%, 51%)
CIE-LABlab(29.92, 44.91, -12.60)
CIE-LCHlch(29.92, 46.64, 344.33°)
OKLaboklab(41.44% 0.1361 -0.0333)
OKLCHoklch(41.44% 0.14 346.2)
XYZxyz(10.8901, 6.2042, 10.5195)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D215B #217D43
analogous
#71217D #7D215B #7D212D
triadic
#7D215B #5B7D21 #215B7D
tetradic
#7D215B #7D7121 #217D43 #212D7D
square
#7D215B #7D7121 #217D43 #212D7D
split-complementary
#7D215B #2D7D21 #217D71
monochromatic
#1C0715 #4D1438 #7D215B #AD2E7E #CF499E

Accessibility & contrast

On white

9.37
#7D215B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7D215B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D215B
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D215B#FFFFFF#000000##FFFFFF
##7D215B1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3C5D
Deuteranopia (green-blind)
#484C59
Tritanopia (blue-blind)
#861F3B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d215b;
/* rgb */ color: rgb(125, 33, 91);
/* oklch */ color: oklch(41.4% 0.140 346.2);
Tailwind
colors: {
  custom: {
    50: '#a66589',
    500: '#7d215b',
    950: '#000000',
  },
}
SCSS
$custom: #7d215b;
$custom-light: #a66589;
$custom-dark: #000000;
JSON
{
  "hex": "#7d215b",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 91
  },
  "hsl": {
    "h": 322.174,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41441,
    "c": 0.14017,
    "h": 346.2
  },
  "luminance": 0.06203
}

Semantic roles & 50–950 ramp

primary
#7D215B
secondary
#4AB070
accent
#E18046
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D215B

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

Preview Lab → · Contrast checker → · Palette generator →

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