#7D2E48#7D2E48

#7D2E48 is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.2% C 0.112 H 2.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#7D2E48
RGBrgb(125, 46, 72)
HSLhsl(340, 46%, 34%)
HSVhsv(340, 63%, 49%)
CMYKcmyk(0%, 63.2%, 42.4%, 51%)
CIE-LABlab(31.31, 36.80, 1.90)
CIE-LCHlch(31.31, 36.85, 2.96°)
OKLaboklab(42.24% 0.1123 0.0054)
OKLCHoklch(42.24% 0.112 2.7)
XYZxyz(10.6048, 6.7830, 6.8804)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E48 #2E7D63
analogous
#7D2E6F #7D2E48 #7D3B2E
triadic
#7D2E48 #487D2E #2E487D
tetradic
#7D2E48 #6F7D2E #2E7D63 #3B2E7D
square
#7D2E48 #6F7D2E #2E7D63 #3B2E7D
split-complementary
#7D2E48 #2E7D3B #2E6F7D
monochromatic
#240D14 #501E2E #7D2E48 #AA3E62 #C56182

Accessibility & contrast

On white

8.91
#7D2E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7D2E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E48
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E48#FFFFFF#000000##FFFFFF
##7D2E481.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4049
Deuteranopia (green-blind)
#524F46
Tritanopia (blue-blind)
#872538
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2e48;
/* rgb */ color: rgb(125, 46, 72);
/* oklch */ color: oklch(42.2% 0.112 2.7);
Tailwind
colors: {
  custom: {
    50: '#a66b7a',
    500: '#7d2e48',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e48;
$custom-light: #a66b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e48",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 72
  },
  "hsl": {
    "h": 340.253,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42238,
    "c": 0.1124,
    "h": 2.7
  },
  "luminance": 0.06782
}

Semantic roles & 50–950 ramp

primary
#7D2E48
secondary
#5BAB91
accent
#D6AA52
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7D2E48

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

Preview Lab → · Contrast checker → · Palette generator →

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