#7D286A#7D286A

#7D286A is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.141 H 337.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#7D286A
RGBrgb(125, 40, 106)
HSLhsl(313, 52%, 32%)
HSVhsv(313, 68%, 49%)
CMYKcmyk(0%, 68%, 15.2%, 51%)
CIE-LABlab(31.62, 44.29, -19.66)
CIE-LCHlch(31.62, 48.46, 336.06°)
OKLaboklab(42.9% 0.1305 -0.0532)
OKLCHoklch(42.9% 0.141 337.8)
XYZxyz(11.8180, 6.9192, 14.3460)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D286A #287D3B
analogous
#66287D #7D286A #7D283F
triadic
#7D286A #6A7D28 #286A7D
tetradic
#7D286A #7D6628 #287D3B #283F7D
square
#7D286A #7D6628 #287D3B #283F7D
split-complementary
#7D286A #3F7D28 #287D66
monochromatic
#200A1B #4F1943 #7D286A #AB3791 #C956AF

Accessibility & contrast

On white

8.81
#7D286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7D286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D286A
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D286A#FFFFFF#000000##FFFFFF
##7D286A1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B426C
Deuteranopia (green-blind)
#464F68
Tritanopia (blue-blind)
#842C45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d286a;
/* rgb */ color: rgb(125, 40, 106);
/* oklch */ color: oklch(42.9% 0.141 337.8);
Tailwind
colors: {
  custom: {
    50: '#a56995',
    500: '#7d286a',
    950: '#000000',
  },
}
SCSS
$custom: #7d286a;
$custom-light: #a56995;
$custom-dark: #000000;
JSON
{
  "hex": "#7d286a",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 313.412,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42903,
    "c": 0.14095,
    "h": 337.8
  },
  "luminance": 0.06918
}

Semantic roles & 50–950 ramp

primary
#7D286A
secondary
#53AE67
accent
#DB6D4D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7D286A

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

Preview Lab → · Contrast checker → · Palette generator →

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