#7A285A#7A285A

#7A285A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.7% C 0.127 H 346.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#7A285A
RGBrgb(122, 40, 90)
HSLhsl(323, 51%, 32%)
HSVhsv(323, 67%, 48%)
CMYKcmyk(0%, 67.2%, 26.2%, 52.2%)
CIE-LABlab(30.39, 40.96, -11.29)
CIE-LCHlch(30.39, 42.49, 344.60°)
OKLaboklab(41.66% 0.1238 -0.0298)
OKLCHoklch(41.66% 0.127 346.5)
XYZxyz(10.6307, 6.3944, 10.3453)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A285A #287A48
analogous
#71287A #7A285A #7A2831
triadic
#7A285A #5A7A28 #285A7A
tetradic
#7A285A #7A7128 #287A48 #28317A
square
#7A285A #7A7128 #287A48 #28317A
split-complementary
#7A285A #317A28 #287A71
monochromatic
#1E0A16 #4C1938 #7A285A #A8377C #C7559B

Accessibility & contrast

On white

9.22
#7A285A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A285A
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A285A#FFFFFF#000000##FFFFFF
##7A285A1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313F5B
Deuteranopia (green-blind)
#494D58
Tritanopia (blue-blind)
#82263D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a285a;
/* rgb */ color: rgb(122, 40, 90);
/* oklch */ color: oklch(41.7% 0.127 346.5);
Tailwind
colors: {
  custom: {
    50: '#a36888',
    500: '#7a285a',
    950: '#000000',
  },
}
SCSS
$custom: #7a285a;
$custom-light: #a36888;
$custom-dark: #000000;
JSON
{
  "hex": "#7a285a",
  "rgb": {
    "r": 122,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 323.415,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41664,
    "c": 0.12732,
    "h": 346.5
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#7A285A
secondary
#52AC75
accent
#DA844E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #7A285A

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

Preview Lab → · Contrast checker → · Palette generator →

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