#7D2F54#7D2F54

#7D2F54 is a dark, moderate pink. Relative luminance 0.070; OKLCH L 42.8% C 0.116 H 353.6°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#7D2F54
RGBrgb(125, 47, 84)
HSLhsl(332, 45%, 34%)
HSVhsv(332, 62%, 49%)
CMYKcmyk(0%, 62.4%, 32.8%, 51%)
CIE-LABlab(31.88, 37.81, -5.08)
CIE-LCHlch(31.88, 38.15, 352.35°)
OKLaboklab(42.8% 0.1151 -0.0129)
OKLCHoklch(42.8% 0.116 353.6)
XYZxyz(11.0747, 7.0342, 9.1603)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F54 #2F7D58
analogous
#7D2F7B #7D2F54 #7D312F
triadic
#7D2F54 #547D2F #2F547D
tetradic
#7D2F54 #7B7D2F #2F7D58 #312F7D
square
#7D2F54 #7B7D2F #2F7D58 #312F7D
split-complementary
#7D2F54 #2F7D31 #2F7B7D
monochromatic
#240E18 #511E36 #7D2F54 #A94072 #C46291

Accessibility & contrast

On white

8.73
#7D2F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7D2F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2F54
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F54#FFFFFF#000000##FFFFFF
##7D2F541.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4255
Deuteranopia (green-blind)
#505052
Tritanopia (blue-blind)
#862A3E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2f54;
/* rgb */ color: rgb(125, 47, 84);
/* oklch */ color: oklch(42.8% 0.116 353.6);
Tailwind
colors: {
  custom: {
    50: '#a66c84',
    500: '#7d2f54',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f54;
$custom-light: #a66c84;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f54",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 84
  },
  "hsl": {
    "h": 331.538,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42797,
    "c": 0.11581,
    "h": 353.6
  },
  "luminance": 0.07033
}

Semantic roles & 50–950 ramp

primary
#7D2F54
secondary
#5DAB86
accent
#D59753
background
#FAF6F8
surface
#F4ECEF
border
#CEC7CA
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7D2F54

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

Preview Lab → · Contrast checker → · Palette generator →

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