#7D2F5F#7D2F5F

#7D2F5F is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.2% C 0.122 H 345.5°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#7D2F5F
RGBrgb(125, 47, 95)
HSLhsl(323, 45%, 34%)
HSVhsv(323, 62%, 49%)
CMYKcmyk(0%, 62.4%, 24%, 51%)
CIE-LABlab(32.30, 39.38, -11.56)
CIE-LCHlch(32.30, 41.04, 343.64°)
OKLaboklab(43.24% 0.1184 -0.0306)
OKLCHoklch(43.24% 0.122 345.5)
XYZxyz(11.5399, 7.2203, 11.6102)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F5F #2F7D4D
analogous
#742F7D #7D2F5F #7D2F38
triadic
#7D2F5F #5F7D2F #2F5F7D
tetradic
#7D2F5F #7D742F #2F7D4D #2F387D
square
#7D2F5F #7D742F #2F7D4D #2F387D
split-complementary
#7D2F5F #387D2F #2F7D74
monochromatic
#240E1B #511E3D #7D2F5F #A94081 #C4629E

Accessibility & contrast

On white

8.59
#7D2F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7D2F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2F5F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F5F#FFFFFF#000000##FFFFFF
##7D2F5F1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374460
Deuteranopia (green-blind)
#4D515D
Tritanopia (blue-blind)
#852E43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2f5f;
/* rgb */ color: rgb(125, 47, 95);
/* oklch */ color: oklch(43.2% 0.122 345.5);
Tailwind
colors: {
  custom: {
    50: '#a56c8c',
    500: '#7d2f5f',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f5f;
$custom-light: #a56c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f5f",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 323.077,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43244,
    "c": 0.12231,
    "h": 345.5
  },
  "luminance": 0.07219
}

Semantic roles & 50–950 ramp

primary
#7D2F5F
secondary
#5DAB7B
accent
#D58553
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7D2F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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