#7A1240#7A1240

#7A1240 is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.5% C 0.141 H 0.5°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#7A1240
RGBrgb(122, 18, 64)
HSLhsl(333, 74%, 27%)
HSVhsv(333, 85%, 48%)
CMYKcmyk(0%, 85.2%, 47.5%, 52.2%)
CIE-LABlab(26.57, 45.83, 0.27)
CIE-LCHlch(26.57, 45.83, 0.34°)
OKLaboklab(38.55% 0.1409 0.0012)
OKLCHoklch(38.55% 0.141 0.5)
XYZxyz(9.1685, 4.9416, 5.3205)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1240 #127A4C
analogous
#7A1274 #7A1240 #7A1812
triadic
#7A1240 #407A12 #12407A
tetradic
#7A1240 #747A12 #127A4C #18127A
square
#7A1240 #747A12 #127A4C #18127A
split-complementary
#7A1240 #127A18 #12747A
monochromatic
#1B040E #450A24 #7A1240 #AF1A5C #DF2779

Accessibility & contrast

On white

10.56
#7A1240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7A1240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1240
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1240#FFFFFF#000000##FFFFFF
##7A12401.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3241
Deuteranopia (green-blind)
#48463E
Tritanopia (blue-blind)
#850027
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7a1240;
/* rgb */ color: rgb(122, 18, 64);
/* oklch */ color: oklch(38.5% 0.141 0.5);
Tailwind
colors: {
  custom: {
    50: '#a65e74',
    500: '#7a1240',
    950: '#000000',
  },
}
SCSS
$custom: #7a1240;
$custom-light: #a65e74;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1240",
  "rgb": {
    "r": 122,
    "g": 18,
    "b": 64
  },
  "hsl": {
    "h": 333.462,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38547,
    "c": 0.14094,
    "h": 0.5
  },
  "luminance": 0.0494
}

Semantic roles & 50–950 ramp

primary
#7A1240
secondary
#38B07B
accent
#F19F37
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7A1240

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

Preview Lab → · Contrast checker → · Palette generator →

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