#7A2841#7A2841

#7A2841 is a dark, moderate pink. Relative luminance 0.060; OKLCH L 40.7% C 0.116 H 5.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#7A2841
RGBrgb(122, 40, 65)
HSLhsl(342, 51%, 32%)
HSVhsv(342, 67%, 48%)
CMYKcmyk(0%, 67.2%, 46.7%, 52.2%)
CIE-LABlab(29.51, 37.82, 3.85)
CIE-LCHlch(29.51, 38.02, 5.82°)
OKLaboklab(40.73% 0.1154 0.0103)
OKLCHoklch(40.73% 0.116 5.1)
XYZxyz(9.7397, 6.0380, 5.6526)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2841 #287A61
analogous
#7A286A #7A2841 #7A3828
triadic
#7A2841 #417A28 #28417A
tetradic
#7A2841 #6A7A28 #287A61 #38287A
square
#7A2841 #6A7A28 #287A61 #38287A
split-complementary
#7A2841 #287A38 #286A7A
monochromatic
#1E0A10 #4C1928 #7A2841 #A8375A #C75578

Accessibility & contrast

On white

9.51
#7A2841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7A2841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2841
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2841#FFFFFF#000000##FFFFFF
##7A28411.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B42
Deuteranopia (green-blind)
#4F4B3F
Tritanopia (blue-blind)
#851D32
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a2841;
/* rgb */ color: rgb(122, 40, 65);
/* oklch */ color: oklch(40.7% 0.116 5.1);
Tailwind
colors: {
  custom: {
    50: '#a46775',
    500: '#7a2841',
    950: '#000000',
  },
}
SCSS
$custom: #7a2841;
$custom-light: #a46775;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2841",
  "rgb": {
    "r": 122,
    "g": 40,
    "b": 65
  },
  "hsl": {
    "h": 341.707,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40726,
    "c": 0.11583,
    "h": 5.1
  },
  "luminance": 0.06037
}

Semantic roles & 50–950 ramp

primary
#7A2841
secondary
#52AC90
accent
#DAAF4E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7A2841

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

Preview Lab → · Contrast checker → · Palette generator →

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