#7D286D#7D286D

#7D286D is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.143 H 336.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#7D286D
RGBrgb(125, 40, 109)
HSLhsl(311, 52%, 32%)
HSVhsv(311, 68%, 49%)
CMYKcmyk(0%, 68%, 12.8%, 51%)
CIE-LABlab(31.77, 44.78, -21.35)
CIE-LCHlch(31.77, 49.61, 334.51°)
OKLaboklab(43.06% 0.131 -0.0581)
OKLCHoklch(43.06% 0.143 336.1)
XYZxyz(11.9767, 6.9827, 15.1820)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D286D #287D38
analogous
#62287D #7D286D #7D2843
triadic
#7D286D #6D7D28 #286D7D
tetradic
#7D286D #7D6228 #287D38 #28437D
square
#7D286D #7D6228 #287D38 #28437D
split-complementary
#7D286D #437D28 #287D62
monochromatic
#200A1C #4F1945 #7D286D #AB3795 #C956B3

Accessibility & contrast

On white

8.76
#7D286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7D286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D286D
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D286D#FFFFFF#000000##FFFFFF
##7D286D1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29436F
Deuteranopia (green-blind)
#454F6B
Tritanopia (blue-blind)
#832D46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d286d;
/* rgb */ color: rgb(125, 40, 109);
/* oklch */ color: oklch(43.1% 0.143 336.1);
Tailwind
colors: {
  custom: {
    50: '#a56997',
    500: '#7d286d',
    950: '#000000',
  },
}
SCSS
$custom: #7d286d;
$custom-light: #a56997;
$custom-dark: #000000;
JSON
{
  "hex": "#7d286d",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 311.294,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43056,
    "c": 0.14326,
    "h": 336.1
  },
  "luminance": 0.06982
}

Semantic roles & 50–950 ramp

primary
#7D286D
secondary
#53AE64
accent
#DB684D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7D286D

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

Preview Lab → · Contrast checker → · Palette generator →

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