#7D284C#7D284C

#7D284C is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.6% C 0.123 H 357.7°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#7D284C
RGBrgb(125, 40, 76)
HSLhsl(335, 52%, 32%)
HSVhsv(335, 68%, 49%)
CMYKcmyk(0%, 68%, 39.2%, 51%)
CIE-LABlab(30.40, 40.07, -2.05)
CIE-LCHlch(30.40, 40.12, 357.08°)
OKLaboklab(41.61% 0.1226 -0.0049)
OKLCHoklch(41.61% 0.123 357.7)
XYZxyz(10.5214, 6.4006, 7.5174)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D284C #287D59
analogous
#7D2877 #7D284C #7D2E28
triadic
#7D284C #4C7D28 #284C7D
tetradic
#7D284C #777D28 #287D59 #2E287D
square
#7D284C #777D28 #287D59 #2E287D
split-complementary
#7D284C #287D2E #28777D
monochromatic
#200A14 #4F1930 #7D284C #AB3768 #C95687

Accessibility & contrast

On white

9.21
#7D284C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7D284C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D284C
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D284C#FFFFFF#000000##FFFFFF
##7D284C1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373D4D
Deuteranopia (green-blind)
#4E4D4A
Tritanopia (blue-blind)
#872037
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d284c;
/* rgb */ color: rgb(125, 40, 76);
/* oklch */ color: oklch(41.6% 0.123 357.7);
Tailwind
colors: {
  custom: {
    50: '#a6687d',
    500: '#7d284c',
    950: '#000000',
  },
}
SCSS
$custom: #7d284c;
$custom-light: #a6687d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d284c",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 76
  },
  "hsl": {
    "h": 334.588,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41606,
    "c": 0.12268,
    "h": 357.7
  },
  "luminance": 0.06399
}

Semantic roles & 50–950 ramp

primary
#7D284C
secondary
#53AE87
accent
#DB9F4D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D284C

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

Preview Lab → · Contrast checker → · Palette generator →

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