#7D2962#7D2962

#7D2962 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.134 H 342.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7D2962
RGBrgb(125, 41, 98)
HSLhsl(319, 51%, 33%)
HSVhsv(319, 67%, 49%)
CMYKcmyk(0%, 67.2%, 21.6%, 51%)
CIE-LABlab(31.41, 42.61, -14.85)
CIE-LCHlch(31.41, 45.12, 340.79°)
OKLaboklab(42.63% 0.1276 -0.0397)
OKLCHoklch(42.63% 0.134 342.7)
XYZxyz(11.4553, 6.8288, 12.2677)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2962 #297D44
analogous
#6E297D #7D2962 #7D2938
triadic
#7D2962 #627D29 #29627D
tetradic
#7D2962 #7D6E29 #297D44 #29387D
square
#7D2962 #7D6E29 #297D44 #29387D
split-complementary
#7D2962 #387D29 #297D6E
monochromatic
#210B1A #4F1A3E #7D2962 #AB3886 #C858A4

Accessibility & contrast

On white

8.88
#7D2962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7D2962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2962
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2962#FFFFFF#000000##FFFFFF
##7D29621.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304164
Deuteranopia (green-blind)
#494F60
Tritanopia (blue-blind)
#852941
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2962;
/* rgb */ color: rgb(125, 41, 98);
/* oklch */ color: oklch(42.6% 0.134 342.7);
Tailwind
colors: {
  custom: {
    50: '#a6698e',
    500: '#7d2962',
    950: '#000000',
  },
}
SCSS
$custom: #7d2962;
$custom-light: #a6698e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2962",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 98
  },
  "hsl": {
    "h": 319.286,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42631,
    "c": 0.13364,
    "h": 342.7
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#7D2962
secondary
#54AE71
accent
#DA7B4E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7D2962

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

Preview Lab → · Contrast checker → · Palette generator →

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