#7D285C#7D285C

#7D285C is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.2% C 0.131 H 346.5°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7D285C
RGBrgb(125, 40, 92)
HSLhsl(323, 52%, 32%)
HSVhsv(323, 68%, 49%)
CMYKcmyk(0%, 68%, 26.4%, 51%)
CIE-LABlab(31.00, 42.17, -11.60)
CIE-LCHlch(31.00, 43.73, 344.62°)
OKLaboklab(42.24% 0.1275 -0.0307)
OKLCHoklch(42.24% 0.131 346.5)
XYZxyz(11.1484, 6.6514, 10.8199)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D285C #287D49
analogous
#73287D #7D285C #7D2832
triadic
#7D285C #5C7D28 #285C7D
tetradic
#7D285C #7D7328 #287D49 #28327D
square
#7D285C #7D7328 #287D49 #28327D
split-complementary
#7D285C #327D28 #287D73
monochromatic
#200A18 #4F193A #7D285C #AB377E #C9569D

Accessibility & contrast

On white

9.01
#7D285C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7D285C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D285C
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D285C#FFFFFF#000000##FFFFFF
##7D285C1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32405E
Deuteranopia (green-blind)
#4A4E5A
Tritanopia (blue-blind)
#86263E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d285c;
/* rgb */ color: rgb(125, 40, 92);
/* oklch */ color: oklch(42.2% 0.131 346.5);
Tailwind
colors: {
  custom: {
    50: '#a6688a',
    500: '#7d285c',
    950: '#000000',
  },
}
SCSS
$custom: #7d285c;
$custom-light: #a6688a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d285c",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 323.294,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42244,
    "c": 0.13113,
    "h": 346.5
  },
  "luminance": 0.0665
}

Semantic roles & 50–950 ramp

primary
#7D285C
secondary
#53AE76
accent
#DB844D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7D285C

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

Preview Lab → · Contrast checker → · Palette generator →

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