#7D286C#7D286C

#7D286C is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.0% C 0.142 H 336.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#7D286C
RGBrgb(125, 40, 108)
HSLhsl(312, 52%, 32%)
HSVhsv(312, 68%, 49%)
CMYKcmyk(0%, 68%, 13.6%, 51%)
CIE-LABlab(31.72, 44.61, -20.79)
CIE-LCHlch(31.72, 49.22, 335.01°)
OKLaboklab(43.01% 0.1308 -0.0565)
OKLCHoklch(43.01% 0.142 336.7)
XYZxyz(11.9232, 6.9613, 14.9002)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D286C #287D39
analogous
#64287D #7D286C #7D2842
triadic
#7D286C #6C7D28 #286C7D
tetradic
#7D286C #7D6428 #287D39 #28427D
square
#7D286C #7D6428 #287D39 #28427D
split-complementary
#7D286C #427D28 #287D64
monochromatic
#200A1C #4F1944 #7D286C #AB3794 #C956B2

Accessibility & contrast

On white

8.78
#7D286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7D286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D286C
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D286C#FFFFFF#000000##FFFFFF
##7D286C1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A426E
Deuteranopia (green-blind)
#454F6A
Tritanopia (blue-blind)
#842D46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d286c;
/* rgb */ color: rgb(125, 40, 108);
/* oklch */ color: oklch(43.0% 0.142 336.7);
Tailwind
colors: {
  custom: {
    50: '#a56996',
    500: '#7d286c',
    950: '#000000',
  },
}
SCSS
$custom: #7d286c;
$custom-light: #a56996;
$custom-dark: #000000;
JSON
{
  "hex": "#7d286c",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 312,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43005,
    "c": 0.14248,
    "h": 336.7
  },
  "luminance": 0.0696
}

Semantic roles & 50–950 ramp

primary
#7D286C
secondary
#53AE65
accent
#DB694D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7D286C

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

Preview Lab → · Contrast checker → · Palette generator →

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