#7A1851#7A1851

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

Color values

HEX#7A1851
RGBrgb(122, 24, 81)
HSLhsl(325, 67%, 29%)
HSVhsv(325, 80%, 48%)
CMYKcmyk(0%, 80.3%, 33.6%, 52.2%)
CIE-LABlab(27.81, 45.94, -9.29)
CIE-LCHlch(27.81, 46.87, 348.57°)
OKLaboklab(39.66% 0.1406 -0.0242)
OKLCHoklch(39.66% 0.143 350.2)
XYZxyz(9.8384, 5.3861, 8.3045)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1851 #187A41
analogous
#72187A #7A1851 #7A1820
triadic
#7A1851 #517A18 #18517A
tetradic
#7A1851 #7A7218 #187A41 #18207A
square
#7A1851 #7A7218 #187A41 #18207A
split-complementary
#7A1851 #207A18 #187A72
monochromatic
#1A0511 #470E2F #7A1851 #AD2273 #D73593

Accessibility & contrast

On white

10.11
#7A1851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1851
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1851#FFFFFF#000000##FFFFFF
##7A18511.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293752
Deuteranopia (green-blind)
#46484F
Tritanopia (blue-blind)
#841032
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1851;
/* rgb */ color: rgb(122, 24, 81);
/* oklch */ color: oklch(39.7% 0.143 350.2);
Tailwind
colors: {
  custom: {
    50: '#a46081',
    500: '#7a1851',
    950: '#000000',
  },
}
SCSS
$custom: #7a1851;
$custom-light: #a46081;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1851",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 81
  },
  "hsl": {
    "h": 325.102,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39656,
    "c": 0.14271,
    "h": 350.2
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#7A1851
secondary
#3FAF6E
accent
#EA863E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7A1851

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

Preview Lab → · Contrast checker → · Palette generator →

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