#7A123B#7A123B

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

Color values

HEX#7A123B
RGBrgb(122, 18, 59)
HSLhsl(336, 74%, 27%)
HSVhsv(336, 85%, 48%)
CMYKcmyk(0%, 85.2%, 51.6%, 52.2%)
CIE-LABlab(26.41, 45.37, 3.44)
CIE-LCHlch(26.41, 45.50, 4.34°)
OKLaboklab(38.38% 0.1391 0.0092)
OKLCHoklch(38.38% 0.139 3.8)
XYZxyz(9.0326, 4.8872, 4.6045)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A123B #127A51
analogous
#7A126F #7A123B #7A1D12
triadic
#7A123B #3B7A12 #123B7A
tetradic
#7A123B #6F7A12 #127A51 #1D127A
square
#7A123B #6F7A12 #127A51 #1D127A
split-complementary
#7A123B #127A1D #126F7A
monochromatic
#1B040D #450A21 #7A123B #AF1A55 #DF2770

Accessibility & contrast

On white

10.62
#7A123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A123B
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A123B#FFFFFF#000000##FFFFFF
##7A123B1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E323C
Deuteranopia (green-blind)
#494639
Tritanopia (blue-blind)
#850025
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7a123b;
/* rgb */ color: rgb(122, 18, 59);
/* oklch */ color: oklch(38.4% 0.139 3.8);
Tailwind
colors: {
  custom: {
    50: '#a65d70',
    500: '#7a123b',
    950: '#000000',
  },
}
SCSS
$custom: #7a123b;
$custom-light: #a65d70;
$custom-dark: #000000;
JSON
{
  "hex": "#7a123b",
  "rgb": {
    "r": 122,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 336.346,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38381,
    "c": 0.13939,
    "h": 3.8
  },
  "luminance": 0.04886
}

Semantic roles & 50–950 ramp

primary
#7A123B
secondary
#38B081
accent
#F1A837
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #7A123B

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

Preview Lab → · Contrast checker → · Palette generator →

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