#7A285B#7A285B

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

Color values

HEX#7A285B
RGBrgb(122, 40, 91)
HSLhsl(323, 51%, 32%)
HSVhsv(323, 67%, 48%)
CMYKcmyk(0%, 67.2%, 25.4%, 52.2%)
CIE-LABlab(30.43, 41.11, -11.87)
CIE-LCHlch(30.43, 42.79, 343.89°)
OKLaboklab(41.71% 0.124 -0.0314)
OKLCHoklch(41.71% 0.128 345.8)
XYZxyz(10.6736, 6.4115, 10.5709)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A285B #287A47
analogous
#70287A #7A285B #7A2832
triadic
#7A285B #5B7A28 #285B7A
tetradic
#7A285B #7A7028 #287A47 #28327A
square
#7A285B #7A7028 #287A47 #28327A
split-complementary
#7A285B #327A28 #287A70
monochromatic
#1E0A16 #4C1939 #7A285B #A8377D #C7559C

Accessibility & contrast

On white

9.20
#7A285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A285B
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A285B#FFFFFF#000000##FFFFFF
##7A285B1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313F5D
Deuteranopia (green-blind)
#494D59
Tritanopia (blue-blind)
#82273D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a285b;
/* rgb */ color: rgb(122, 40, 91);
/* oklch */ color: oklch(41.7% 0.128 345.8);
Tailwind
colors: {
  custom: {
    50: '#a36889',
    500: '#7a285b',
    950: '#000000',
  },
}
SCSS
$custom: #7a285b;
$custom-light: #a36889;
$custom-dark: #000000;
JSON
{
  "hex": "#7a285b",
  "rgb": {
    "r": 122,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 322.683,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41708,
    "c": 0.12796,
    "h": 345.8
  },
  "luminance": 0.0641
}

Semantic roles & 50–950 ramp

primary
#7A285B
secondary
#52AC74
accent
#DA834E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #7A285B

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

Preview Lab → · Contrast checker → · Palette generator →

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