#7A1855#7A1855

#7A1855 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.145 H 347.7°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#7A1855
RGBrgb(122, 24, 85)
HSLhsl(323, 67%, 29%)
HSVhsv(323, 80%, 48%)
CMYKcmyk(0%, 80.3%, 30.3%, 52.2%)
CIE-LABlab(27.97, 46.44, -11.68)
CIE-LCHlch(27.97, 47.89, 345.88°)
OKLaboklab(39.83% 0.1416 -0.0308)
OKLCHoklch(39.83% 0.145 347.7)
XYZxyz(9.9929, 5.4479, 9.1179)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1855 #187A3D
analogous
#6E187A #7A1855 #7A1824
triadic
#7A1855 #557A18 #18557A
tetradic
#7A1855 #7A6E18 #187A3D #18247A
square
#7A1855 #7A6E18 #187A3D #18247A
split-complementary
#7A1855 #247A18 #187A6E
monochromatic
#1A0512 #470E31 #7A1855 #AD2279 #D7359A

Accessibility & contrast

On white

10.05
#7A1855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7A1855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1855
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1855#FFFFFF#000000##FFFFFF
##7A18551.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273757
Deuteranopia (green-blind)
#444853
Tritanopia (blue-blind)
#831334
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1855;
/* rgb */ color: rgb(122, 24, 85);
/* oklch */ color: oklch(39.8% 0.145 347.7);
Tailwind
colors: {
  custom: {
    50: '#a46185',
    500: '#7a1855',
    950: '#000000',
  },
}
SCSS
$custom: #7a1855;
$custom-light: #a46185;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1855",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 85
  },
  "hsl": {
    "h": 322.653,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39832,
    "c": 0.14494,
    "h": 347.7
  },
  "luminance": 0.05447
}

Semantic roles & 50–950 ramp

primary
#7A1855
secondary
#3FAF69
accent
#EA7F3E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7A1855

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

Preview Lab → · Contrast checker → · Palette generator →

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