#7A285F#7A285F

#7A285F is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.9% C 0.131 H 343.1°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#7A285F
RGBrgb(122, 40, 95)
HSLhsl(320, 51%, 32%)
HSVhsv(320, 67%, 48%)
CMYKcmyk(0%, 67.2%, 22.1%, 52.2%)
CIE-LABlab(30.60, 41.70, -14.21)
CIE-LCHlch(30.60, 44.05, 341.19°)
OKLaboklab(41.89% 0.125 -0.0379)
OKLCHoklch(41.89% 0.131 343.1)
XYZxyz(10.8507, 6.4824, 11.5040)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A285F #287A43
analogous
#6C287A #7A285F #7A2836
triadic
#7A285F #5F7A28 #285F7A
tetradic
#7A285F #7A6C28 #287A43 #28367A
square
#7A285F #7A6C28 #287A43 #28367A
split-complementary
#7A285F #367A28 #287A6C
monochromatic
#1E0A17 #4C193B #7A285F #A83783 #C755A2

Accessibility & contrast

On white

9.15
#7A285F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7A285F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A285F
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A285F#FFFFFF#000000##FFFFFF
##7A285F1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3F61
Deuteranopia (green-blind)
#474D5D
Tritanopia (blue-blind)
#82283F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a285f;
/* rgb */ color: rgb(122, 40, 95);
/* oklch */ color: oklch(41.9% 0.131 343.1);
Tailwind
colors: {
  custom: {
    50: '#a3688c',
    500: '#7a285f',
    950: '#000000',
  },
}
SCSS
$custom: #7a285f;
$custom-light: #a3688c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a285f",
  "rgb": {
    "r": 122,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 319.756,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41889,
    "c": 0.13064,
    "h": 343.1
  },
  "luminance": 0.06481
}

Semantic roles & 50–950 ramp

primary
#7A285F
secondary
#52AC70
accent
#DA7C4E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #7A285F

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

Preview Lab → · Contrast checker → · Palette generator →

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