#7A285C#7A285C

#7A285C is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.129 H 345.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7A285C
RGBrgb(122, 40, 92)
HSLhsl(322, 51%, 32%)
HSVhsv(322, 67%, 48%)
CMYKcmyk(0%, 67.2%, 24.6%, 52.2%)
CIE-LABlab(30.47, 41.25, -12.46)
CIE-LCHlch(30.47, 43.09, 343.20°)
OKLaboklab(41.75% 0.1243 -0.0331)
OKLCHoklch(41.75% 0.129 345.1)
XYZxyz(10.7170, 6.4289, 10.7996)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A285C #287A46
analogous
#6F287A #7A285C #7A2833
triadic
#7A285C #5C7A28 #285C7A
tetradic
#7A285C #7A6F28 #287A46 #28337A
square
#7A285C #7A6F28 #287A46 #28337A
split-complementary
#7A285C #337A28 #287A6F
monochromatic
#1E0A16 #4C1939 #7A285C #A8377F #C7559E

Accessibility & contrast

On white

9.19
#7A285C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7A285C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A285C
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A285C#FFFFFF#000000##FFFFFF
##7A285C1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303F5E
Deuteranopia (green-blind)
#484D5A
Tritanopia (blue-blind)
#82273E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a285c;
/* rgb */ color: rgb(122, 40, 92);
/* oklch */ color: oklch(41.8% 0.129 345.1);
Tailwind
colors: {
  custom: {
    50: '#a3688a',
    500: '#7a285c',
    950: '#000000',
  },
}
SCSS
$custom: #7a285c;
$custom-light: #a3688a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a285c",
  "rgb": {
    "r": 122,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 321.951,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41752,
    "c": 0.12861,
    "h": 345.1
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#7A285C
secondary
#52AC73
accent
#DA814E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #7A285C

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

Preview Lab → · Contrast checker → · Palette generator →

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