#7A2852#7A2852

#7A2852 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.3% C 0.123 H 352.1°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#7A2852
RGBrgb(122, 40, 82)
HSLhsl(329, 51%, 32%)
HSVhsv(329, 67%, 48%)
CMYKcmyk(0%, 67.2%, 32.8%, 52.2%)
CIE-LABlab(30.07, 39.85, -6.53)
CIE-LCHlch(30.07, 40.39, 350.69°)
OKLaboklab(41.33% 0.1215 -0.0168)
OKLCHoklch(41.33% 0.123 352.1)
XYZxyz(10.3083, 6.2655, 8.6475)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2852 #287A50
analogous
#79287A #7A2852 #7A2829
triadic
#7A2852 #527A28 #28527A
tetradic
#7A2852 #7A7928 #287A50 #28297A
square
#7A2852 #7A7928 #287A50 #28297A
split-complementary
#7A2852 #297A28 #287A79
monochromatic
#1E0A14 #4C1933 #7A2852 #A83771 #C75590

Accessibility & contrast

On white

9.32
#7A2852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7A2852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2852
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2852#FFFFFF#000000##FFFFFF
##7A28521.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343D53
Deuteranopia (green-blind)
#4B4C50
Tritanopia (blue-blind)
#832339
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a2852;
/* rgb */ color: rgb(122, 40, 82);
/* oklch */ color: oklch(41.3% 0.123 352.1);
Tailwind
colors: {
  custom: {
    50: '#a46882',
    500: '#7a2852',
    950: '#000000',
  },
}
SCSS
$custom: #7a2852;
$custom-light: #a46882;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2852",
  "rgb": {
    "r": 122,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 329.268,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41329,
    "c": 0.12262,
    "h": 352.1
  },
  "luminance": 0.06264
}

Semantic roles & 50–950 ramp

primary
#7A2852
secondary
#52AC7E
accent
#DA924E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A2852

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

Preview Lab → · Contrast checker → · Palette generator →

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