#7D285E#7D285E

#7D285E is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.3% C 0.132 H 345.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7D285E
RGBrgb(125, 40, 94)
HSLhsl(322, 52%, 32%)
HSVhsv(322, 68%, 49%)
CMYKcmyk(0%, 68%, 24.8%, 51%)
CIE-LABlab(31.08, 42.46, -12.77)
CIE-LCHlch(31.08, 44.34, 343.26°)
OKLaboklab(42.33% 0.128 -0.0339)
OKLCHoklch(42.33% 0.132 345.2)
XYZxyz(11.2370, 6.6868, 11.2864)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D285E #287D47
analogous
#71287D #7D285E #7D2834
triadic
#7D285E #5E7D28 #285E7D
tetradic
#7D285E #7D7128 #287D47 #28347D
square
#7D285E #7D7128 #287D47 #28347D
split-complementary
#7D285E #347D28 #287D71
monochromatic
#200A18 #4F193B #7D285E #AB3781 #C9569F

Accessibility & contrast

On white

8.99
#7D285E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7D285E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D285E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D285E#FFFFFF#000000##FFFFFF
##7D285E1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314060
Deuteranopia (green-blind)
#4A4E5C
Tritanopia (blue-blind)
#85273F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d285e;
/* rgb */ color: rgb(125, 40, 94);
/* oklch */ color: oklch(42.3% 0.132 345.2);
Tailwind
colors: {
  custom: {
    50: '#a6688b',
    500: '#7d285e',
    950: '#000000',
  },
}
SCSS
$custom: #7d285e;
$custom-light: #a6688b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d285e",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 321.882,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42332,
    "c": 0.13241,
    "h": 345.2
  },
  "luminance": 0.06686
}

Semantic roles & 50–950 ramp

primary
#7D285E
secondary
#53AE74
accent
#DB814D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7D285E

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

Preview Lab → · Contrast checker → · Palette generator →

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