#7A123A#7A123A

#7A123A is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.3% C 0.139 H 4.5°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#7A123A
RGBrgb(122, 18, 58)
HSLhsl(337, 74%, 27%)
HSVhsv(337, 85%, 48%)
CMYKcmyk(0%, 85.2%, 52.5%, 52.2%)
CIE-LABlab(26.38, 45.28, 4.08)
CIE-LCHlch(26.38, 45.46, 5.15°)
OKLaboklab(38.35% 0.1387 0.0108)
OKLCHoklch(38.35% 0.139 4.5)
XYZxyz(9.0069, 4.8770, 4.4692)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A123A #127A52
analogous
#7A126E #7A123A #7A1E12
triadic
#7A123A #3A7A12 #123A7A
tetradic
#7A123A #6E7A12 #127A52 #1E127A
square
#7A123A #6E7A12 #127A52 #1E127A
split-complementary
#7A123A #127A1E #126E7A
monochromatic
#1B040D #450A21 #7A123A #AF1A53 #DF276E

Accessibility & contrast

On white

10.63
#7A123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7A123A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A123A
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A123A#FFFFFF#000000##FFFFFF
##7A123A1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E313B
Deuteranopia (green-blind)
#494638
Tritanopia (blue-blind)
#850024
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7a123a;
/* rgb */ color: rgb(122, 18, 58);
/* oklch */ color: oklch(38.3% 0.139 4.5);
Tailwind
colors: {
  custom: {
    50: '#a65d6f',
    500: '#7a123a',
    950: '#000000',
  },
}
SCSS
$custom: #7a123a;
$custom-light: #a65d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a123a",
  "rgb": {
    "r": 122,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 336.923,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38349,
    "c": 0.13911,
    "h": 4.5
  },
  "luminance": 0.04876
}

Semantic roles & 50–950 ramp

primary
#7A123A
secondary
#38B082
accent
#F1A937
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #7A123A

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

Preview Lab → · Contrast checker → · Palette generator →

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