#7A1239#7A1239

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

Color values

HEX#7A1239
RGBrgb(122, 18, 57)
HSLhsl(338, 74%, 27%)
HSVhsv(338, 85%, 48%)
CMYKcmyk(0%, 85.2%, 53.3%, 52.2%)
CIE-LABlab(26.35, 45.19, 4.72)
CIE-LCHlch(26.35, 45.44, 5.96°)
OKLaboklab(38.32% 0.1383 0.0124)
OKLCHoklch(38.32% 0.139 5.1)
XYZxyz(8.9817, 4.8669, 4.3366)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1239 #127A53
analogous
#7A126D #7A1239 #7A1F12
triadic
#7A1239 #397A12 #12397A
tetradic
#7A1239 #6D7A12 #127A53 #1F127A
square
#7A1239 #6D7A12 #127A53 #1F127A
split-complementary
#7A1239 #127A1F #126D7A
monochromatic
#1B040C #450A20 #7A1239 #AF1A52 #DF276C

Accessibility & contrast

On white

10.64
#7A1239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#7A1239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1239
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1239#FFFFFF#000000##FFFFFF
##7A12391.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E313A
Deuteranopia (green-blind)
#494637
Tritanopia (blue-blind)
#860024
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7a1239;
/* rgb */ color: rgb(122, 18, 57);
/* oklch */ color: oklch(38.3% 0.139 5.1);
Tailwind
colors: {
  custom: {
    50: '#a65d6f',
    500: '#7a1239',
    950: '#000000',
  },
}
SCSS
$custom: #7a1239;
$custom-light: #a65d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1239",
  "rgb": {
    "r": 122,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 337.5,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38318,
    "c": 0.13885,
    "h": 5.1
  },
  "luminance": 0.04866
}

Semantic roles & 50–950 ramp

primary
#7A1239
secondary
#38B083
accent
#F1AB37
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #7A1239

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

Preview Lab → · Contrast checker → · Palette generator →

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