#7D304E#7D304E

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

Color values

HEX#7D304E
RGBrgb(125, 48, 78)
HSLhsl(337, 45%, 34%)
HSVhsv(337, 62%, 49%)
CMYKcmyk(0%, 61.6%, 37.6%, 51%)
CIE-LABlab(31.86, 36.54, -1.20)
CIE-LCHlch(31.86, 36.56, 358.11°)
OKLaboklab(42.71% 0.1115 -0.0027)
OKLCHoklch(42.71% 0.111 358.6)
XYZxyz(10.8902, 7.0251, 7.9887)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D304E #307D5F
analogous
#7D3075 #7D304E #7D3930
triadic
#7D304E #4E7D30 #304E7D
tetradic
#7D304E #757D30 #307D5F #39307D
square
#7D304E #757D30 #307D5F #39307D
split-complementary
#7D304E #307D39 #30757D
monochromatic
#250E17 #511F32 #7D304E #A9416A #C36489

Accessibility & contrast

On white

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

On black

2.40
#7D304E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7D304E#FFFFFF#000000##FFFFFF
##7D304E1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D424F
Deuteranopia (green-blind)
#52504C
Tritanopia (blue-blind)
#872A3C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d304e;
/* rgb */ color: rgb(125, 48, 78);
/* oklch */ color: oklch(42.7% 0.111 358.6);
Tailwind
colors: {
  custom: {
    50: '#a66c7f',
    500: '#7d304e',
    950: '#000000',
  },
}
SCSS
$custom: #7d304e;
$custom-light: #a66c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d304e",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 78
  },
  "hsl": {
    "h": 336.623,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42714,
    "c": 0.11148,
    "h": 358.6
  },
  "luminance": 0.07024
}

Semantic roles & 50–950 ramp

primary
#7D304E
secondary
#5EAB8D
accent
#D4A254
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7D304E

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

Preview Lab → · Contrast checker → · Palette generator →

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