#7D285D#7D285D

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

Color values

HEX#7D285D
RGBrgb(125, 40, 93)
HSLhsl(323, 52%, 32%)
HSVhsv(323, 68%, 49%)
CMYKcmyk(0%, 68%, 25.6%, 51%)
CIE-LABlab(31.04, 42.31, -12.19)
CIE-LCHlch(31.04, 44.03, 343.93°)
OKLaboklab(42.29% 0.1278 -0.0323)
OKLCHoklch(42.29% 0.132 345.8)
XYZxyz(11.1924, 6.6690, 11.0516)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D285D #287D48
analogous
#72287D #7D285D #7D2833
triadic
#7D285D #5D7D28 #285D7D
tetradic
#7D285D #7D7228 #287D48 #28337D
square
#7D285D #7D7228 #287D48 #28337D
split-complementary
#7D285D #337D28 #287D72
monochromatic
#200A18 #4F193B #7D285D #AB377F #C9569E

Accessibility & contrast

On white

9.00
#7D285D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D285D
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D285D#FFFFFF#000000##FFFFFF
##7D285D1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31405F
Deuteranopia (green-blind)
#4A4E5B
Tritanopia (blue-blind)
#85263E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d285d;
/* rgb */ color: rgb(125, 40, 93);
/* oklch */ color: oklch(42.3% 0.132 345.8);
Tailwind
colors: {
  custom: {
    50: '#a6688b',
    500: '#7d285d',
    950: '#000000',
  },
}
SCSS
$custom: #7d285d;
$custom-light: #a6688b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d285d",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 322.588,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42288,
    "c": 0.13177,
    "h": 345.8
  },
  "luminance": 0.06668
}

Semantic roles & 50–950 ramp

primary
#7D285D
secondary
#53AE75
accent
#DB824D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7D285D

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

Preview Lab → · Contrast checker → · Palette generator →

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