#7A1852#7A1852

#7A1852 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.143 H 349.6°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#7A1852
RGBrgb(122, 24, 82)
HSLhsl(324, 67%, 29%)
HSVhsv(324, 80%, 48%)
CMYKcmyk(0%, 80.3%, 32.8%, 52.2%)
CIE-LABlab(27.85, 46.06, -9.89)
CIE-LCHlch(27.85, 47.11, 347.88°)
OKLaboklab(39.7% 0.1409 -0.0258)
OKLCHoklch(39.7% 0.143 349.6)
XYZxyz(9.8762, 5.4012, 8.5034)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1852 #187A40
analogous
#71187A #7A1852 #7A1821
triadic
#7A1852 #527A18 #18527A
tetradic
#7A1852 #7A7118 #187A40 #18217A
square
#7A1852 #7A7118 #187A40 #18217A
split-complementary
#7A1852 #217A18 #187A71
monochromatic
#1A0511 #470E30 #7A1852 #AD2274 #D73595

Accessibility & contrast

On white

10.10
#7A1852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7A1852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1852
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1852#FFFFFF#000000##FFFFFF
##7A18521.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293753
Deuteranopia (green-blind)
#454850
Tritanopia (blue-blind)
#831133
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1852;
/* rgb */ color: rgb(122, 24, 82);
/* oklch */ color: oklch(39.7% 0.143 349.6);
Tailwind
colors: {
  custom: {
    50: '#a46082',
    500: '#7a1852',
    950: '#000000',
  },
}
SCSS
$custom: #7a1852;
$custom-light: #a46082;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1852",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 324.49,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39699,
    "c": 0.14325,
    "h": 349.6
  },
  "luminance": 0.054
}

Semantic roles & 50–950 ramp

primary
#7A1852
secondary
#3FAF6D
accent
#EA843E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7A1852

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

Preview Lab → · Contrast checker → · Palette generator →

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