#7D304B#7D304B

#7D304B is a dark, moderate pink. Relative luminance 0.070; OKLCH L 42.6% C 0.110 H 1.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#7D304B
RGBrgb(125, 48, 75)
HSLhsl(339, 45%, 34%)
HSVhsv(339, 62%, 49%)
CMYKcmyk(0%, 61.6%, 40%, 51%)
CIE-LABlab(31.77, 36.17, 0.61)
CIE-LCHlch(31.77, 36.17, 0.97°)
OKLaboklab(42.61% 0.1103 0.002)
OKLCHoklch(42.61% 0.11 1.1)
XYZxyz(10.7850, 6.9831, 7.4351)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D304B #307D62
analogous
#7D3072 #7D304B #7D3C30
triadic
#7D304B #4B7D30 #304B7D
tetradic
#7D304B #727D30 #307D62 #3C307D
square
#7D304B #727D30 #307D62 #3C307D
split-complementary
#7D304B #307D3C #30727D
monochromatic
#250E16 #511F30 #7D304B #A94166 #C36485

Accessibility & contrast

On white

8.76
#7D304B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D304B
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D304B#FFFFFF#000000##FFFFFF
##7D304B1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424C
Deuteranopia (green-blind)
#525049
Tritanopia (blue-blind)
#87293A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d304b;
/* rgb */ color: rgb(125, 48, 75);
/* oklch */ color: oklch(42.6% 0.110 1.1);
Tailwind
colors: {
  custom: {
    50: '#a66c7d',
    500: '#7d304b',
    950: '#000000',
  },
}
SCSS
$custom: #7d304b;
$custom-light: #a66c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d304b",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 75
  },
  "hsl": {
    "h": 338.961,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42612,
    "c": 0.11035,
    "h": 1.1
  },
  "luminance": 0.06982
}

Semantic roles & 50–950 ramp

primary
#7D304B
secondary
#5EAB90
accent
#D4A754
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7D304B

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

Preview Lab → · Contrast checker → · Palette generator →

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