#7A285D#7A285D

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

Color values

HEX#7A285D
RGBrgb(122, 40, 93)
HSLhsl(321, 51%, 32%)
HSVhsv(321, 67%, 48%)
CMYKcmyk(0%, 67.2%, 23.8%, 52.2%)
CIE-LABlab(30.51, 41.40, -13.04)
CIE-LCHlch(30.51, 43.41, 342.51°)
OKLaboklab(41.8% 0.1245 -0.0347)
OKLCHoklch(41.8% 0.129 344.4)
XYZxyz(10.7610, 6.4465, 11.0314)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A285D #287A45
analogous
#6E287A #7A285D #7A2834
triadic
#7A285D #5D7A28 #285D7A
tetradic
#7A285D #7A6E28 #287A45 #28347A
square
#7A285D #7A6E28 #287A45 #28347A
split-complementary
#7A285D #347A28 #287A6E
monochromatic
#1E0A17 #4C193A #7A285D #A83780 #C7559F

Accessibility & contrast

On white

9.17
#7A285D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A285D
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A285D#FFFFFF#000000##FFFFFF
##7A285D1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a285d;
/* rgb */ color: rgb(122, 40, 93);
/* oklch */ color: oklch(41.8% 0.129 344.4);
Tailwind
colors: {
  custom: {
    50: '#a3688b',
    500: '#7a285d',
    950: '#000000',
  },
}
SCSS
$custom: #7a285d;
$custom-light: #a3688b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a285d",
  "rgb": {
    "r": 122,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 321.22,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41797,
    "c": 0.12928,
    "h": 344.4
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#7A285D
secondary
#52AC72
accent
#DA7F4E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #7A285D

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

Preview Lab → · Contrast checker → · Palette generator →

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