#7A1857#7A1857

#7A1857 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.146 H 346.5°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#7A1857
RGBrgb(122, 24, 87)
HSLhsl(321, 67%, 29%)
HSVhsv(321, 80%, 48%)
CMYKcmyk(0%, 80.3%, 28.7%, 52.2%)
CIE-LABlab(28.06, 46.70, -12.87)
CIE-LCHlch(28.06, 48.44, 344.59°)
OKLaboklab(39.92% 0.1421 -0.0341)
OKLCHoklch(39.92% 0.146 346.5)
XYZxyz(10.0735, 5.4801, 9.5423)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1857 #187A3B
analogous
#6C187A #7A1857 #7A1826
triadic
#7A1857 #577A18 #18577A
tetradic
#7A1857 #7A6C18 #187A3B #18267A
square
#7A1857 #7A6C18 #187A3B #18267A
split-complementary
#7A1857 #267A18 #187A6C
monochromatic
#1A0512 #470E33 #7A1857 #AD227B #D7359D

Accessibility & contrast

On white

10.02
#7A1857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7A1857 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1857
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1857#FFFFFF#000000##FFFFFF
##7A18571.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263859
Deuteranopia (green-blind)
#444855
Tritanopia (blue-blind)
#831535
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1857;
/* rgb */ color: rgb(122, 24, 87);
/* oklch */ color: oklch(39.9% 0.146 346.5);
Tailwind
colors: {
  custom: {
    50: '#a46186',
    500: '#7a1857',
    950: '#000000',
  },
}
SCSS
$custom: #7a1857;
$custom-light: #a46186;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1857",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 87
  },
  "hsl": {
    "h": 321.429,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39923,
    "c": 0.14612,
    "h": 346.5
  },
  "luminance": 0.05479
}

Semantic roles & 50–950 ramp

primary
#7A1857
secondary
#3FAF67
accent
#EA7B3E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7A1857

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

Preview Lab → · Contrast checker → · Palette generator →

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