#7A2D51#7A2D51

#7A2D51 is a dark, moderate pink. Relative luminance 0.066; OKLCH L 41.9% C 0.114 H 354.1°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#7A2D51
RGBrgb(122, 45, 81)
HSLhsl(332, 46%, 33%)
HSVhsv(332, 63%, 48%)
CMYKcmyk(0%, 63.1%, 33.6%, 52.2%)
CIE-LABlab(30.90, 37.37, -4.64)
CIE-LCHlch(30.90, 37.66, 352.92°)
OKLaboklab(41.93% 0.1138 -0.0118)
OKLCHoklch(41.93% 0.114 354.1)
XYZxyz(10.4501, 6.6095, 8.5084)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2D51 #2D7A56
analogous
#7A2D77 #7A2D51 #7A2F2D
triadic
#7A2D51 #517A2D #2D517A
tetradic
#7A2D51 #777A2D #2D7A56 #2F2D7A
square
#7A2D51 #777A2D #2D7A56 #2F2D7A
split-complementary
#7A2D51 #2D7A2F #2D777A
monochromatic
#210C16 #4D1D33 #7A2D51 #A73D6F #C45E8D

Accessibility & contrast

On white

9.05
#7A2D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7A2D51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2D51
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2D51#FFFFFF#000000##FFFFFF
##7A2D511.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394052
Deuteranopia (green-blind)
#4E4E4F
Tritanopia (blue-blind)
#83283B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a2d51;
/* rgb */ color: rgb(122, 45, 81);
/* oklch */ color: oklch(41.9% 0.114 354.1);
Tailwind
colors: {
  custom: {
    50: '#a36a81',
    500: '#7a2d51',
    950: '#000000',
  },
}
SCSS
$custom: #7a2d51;
$custom-light: #a36a81;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2d51",
  "rgb": {
    "r": 122,
    "g": 45,
    "b": 81
  },
  "hsl": {
    "h": 331.948,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41931,
    "c": 0.11444,
    "h": 354.1
  },
  "luminance": 0.06608
}

Semantic roles & 50–950 ramp

primary
#7A2D51
secondary
#59AA84
accent
#D69852
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#0F070A
muted
#7F7A7C

Preview Lab

Preview with #7A2D51

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

Preview Lab → · Contrast checker → · Palette generator →

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