#7A1957#7A1957

#7A1957 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.145 H 346.6°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#7A1957
RGBrgb(122, 25, 87)
HSLhsl(322, 66%, 29%)
HSVhsv(322, 80%, 48%)
CMYKcmyk(0%, 79.5%, 28.7%, 52.2%)
CIE-LABlab(28.17, 46.38, -12.70)
CIE-LCHlch(28.17, 48.09, 344.69°)
OKLaboklab(40% 0.1411 -0.0336)
OKLCHoklch(40% 0.145 346.6)
XYZxyz(10.0944, 5.5221, 9.5492)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1957 #197A3C
analogous
#6D197A #7A1957 #7A1927
triadic
#7A1957 #577A19 #19577A
tetradic
#7A1957 #7A6D19 #197A3C #19277A
square
#7A1957 #7A6D19 #197A3C #19277A
split-complementary
#7A1957 #277A19 #197A6D
monochromatic
#190512 #470F33 #7A1957 #AD237B #D6379D

Accessibility & contrast

On white

9.98
#7A1957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1957
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1957#FFFFFF#000000##FFFFFF
##7A19571.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1957;
/* rgb */ color: rgb(122, 25, 87);
/* oklch */ color: oklch(40.0% 0.145 346.6);
Tailwind
colors: {
  custom: {
    50: '#a46186',
    500: '#7a1957',
    950: '#000000',
  },
}
SCSS
$custom: #7a1957;
$custom-light: #a46186;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1957",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 87
  },
  "hsl": {
    "h": 321.649,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40004,
    "c": 0.14504,
    "h": 346.6
  },
  "luminance": 0.05521
}

Semantic roles & 50–950 ramp

primary
#7A1957
secondary
#40AF68
accent
#E97C3F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7A1957

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

Preview Lab → · Contrast checker → · Palette generator →

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