#7D286E#7D286E

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

Color values

HEX#7D286E
RGBrgb(125, 40, 110)
HSLhsl(311, 52%, 32%)
HSVhsv(311, 68%, 49%)
CMYKcmyk(0%, 68%, 12%, 51%)
CIE-LABlab(31.82, 44.94, -21.91)
CIE-LCHlch(31.82, 50.00, 334.01°)
OKLaboklab(43.11% 0.1311 -0.0597)
OKLCHoklch(43.11% 0.144 335.5)
XYZxyz(12.0308, 7.0044, 15.4672)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D286E #287D37
analogous
#61287D #7D286E #7D2844
triadic
#7D286E #6E7D28 #286E7D
tetradic
#7D286E #7D6128 #287D37 #28447D
square
#7D286E #7D6128 #287D37 #28447D
split-complementary
#7D286E #447D28 #287D61
monochromatic
#200A1C #4F1945 #7D286E #AB3797 #C956B5

Accessibility & contrast

On white

8.75
#7D286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D286E
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D286E#FFFFFF#000000##FFFFFF
##7D286E1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284370
Deuteranopia (green-blind)
#444F6C
Tritanopia (blue-blind)
#832D47
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d286e;
/* rgb */ color: rgb(125, 40, 110);
/* oklch */ color: oklch(43.1% 0.144 335.5);
Tailwind
colors: {
  custom: {
    50: '#a56998',
    500: '#7d286e',
    950: '#000000',
  },
}
SCSS
$custom: #7d286e;
$custom-light: #a56998;
$custom-dark: #000000;
JSON
{
  "hex": "#7d286e",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 310.588,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43108,
    "c": 0.14405,
    "h": 335.5
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#7D286E
secondary
#53AE63
accent
#DB664D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7D286E

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

Preview Lab → · Contrast checker → · Palette generator →

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