#7D1B64#7D1B64

#7D1B64 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.153 H 340.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7D1B64
RGBrgb(125, 27, 100)
HSLhsl(315, 64%, 30%)
HSVhsv(315, 78%, 49%)
CMYKcmyk(0%, 78.4%, 20%, 51%)
CIE-LABlab(29.58, 48.32, -18.98)
CIE-LCHlch(29.58, 51.91, 338.55°)
OKLaboklab(41.32% 0.1444 -0.0512)
OKLCHoklch(41.32% 0.153 340.5)
XYZxyz(11.1500, 6.0651, 12.6376)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B64 #1B7D34
analogous
#651B7D #7D1B64 #7D1B33
triadic
#7D1B64 #647D1B #1B647D
tetradic
#7D1B64 #7D651B #1B7D34 #1B337D
square
#7D1B64 #7D651B #1B7D34 #1B337D
split-complementary
#7D1B64 #337D1B #1B7D65
monochromatic
#190514 #4B103C #7D1B64 #AF268C #D53DAE

Accessibility & contrast

On white

9.49
#7D1B64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7D1B64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B64
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B64#FFFFFF#000000##FFFFFF
##7D1B641.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233C66
Deuteranopia (green-blind)
#434B62
Tritanopia (blue-blind)
#851E3D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1b64;
/* rgb */ color: rgb(125, 27, 100);
/* oklch */ color: oklch(41.3% 0.153 340.5);
Tailwind
colors: {
  custom: {
    50: '#a66390',
    500: '#7d1b64',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b64;
$custom-light: #a66390;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b64",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 100
  },
  "hsl": {
    "h": 315.306,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41323,
    "c": 0.15325,
    "h": 340.5
  },
  "luminance": 0.06064
}

Semantic roles & 50–950 ramp

primary
#7D1B64
secondary
#43B15F
accent
#E76B40
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D1B64

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

Preview Lab → · Contrast checker → · Palette generator →

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