#7D2F4D#7D2F4D

#7D2F4D is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.5% C 0.113 H 359.1°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#7D2F4D
RGBrgb(125, 47, 77)
HSLhsl(337, 45%, 34%)
HSVhsv(337, 62%, 49%)
CMYKcmyk(0%, 62.4%, 38.4%, 51%)
CIE-LABlab(31.65, 36.91, -0.87)
CIE-LCHlch(31.65, 36.92, 358.65°)
OKLaboklab(42.54% 0.1126 -0.0018)
OKLCHoklch(42.54% 0.113 359.1)
XYZxyz(10.8141, 6.9300, 7.7879)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F4D #2F7D5F
analogous
#7D2F74 #7D2F4D #7D382F
triadic
#7D2F4D #4D7D2F #2F4D7D
tetradic
#7D2F4D #747D2F #2F7D5F #382F7D
square
#7D2F4D #747D2F #2F7D5F #382F7D
split-complementary
#7D2F4D #2F7D38 #2F747D
monochromatic
#240E16 #511E32 #7D2F4D #A94068 #C46288

Accessibility & contrast

On white

8.80
#7D2F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7D2F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2F4D
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F4D#FFFFFF#000000##FFFFFF
##7D2F4D1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414E
Deuteranopia (green-blind)
#51504B
Tritanopia (blue-blind)
#87283B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2f4d;
/* rgb */ color: rgb(125, 47, 77);
/* oklch */ color: oklch(42.5% 0.113 359.1);
Tailwind
colors: {
  custom: {
    50: '#a66c7e',
    500: '#7d2f4d',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f4d;
$custom-light: #a66c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f4d",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 336.923,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42542,
    "c": 0.11263,
    "h": 359.1
  },
  "luminance": 0.06929
}

Semantic roles & 50–950 ramp

primary
#7D2F4D
secondary
#5DAB8D
accent
#D5A353
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7D2F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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