#7E304B#7E304B

#7E304B is a dark, moderate pink. Relative luminance 0.071; OKLCH L 42.8% C 0.111 H 1.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#7E304B
RGBrgb(126, 48, 75)
HSLhsl(339, 45%, 34%)
HSVhsv(339, 62%, 49%)
CMYKcmyk(0%, 61.9%, 40.5%, 50.6%)
CIE-LABlab(31.94, 36.52, 0.88)
CIE-LCHlch(31.94, 36.53, 1.39°)
OKLaboklab(42.77% 0.1114 0.0027)
OKLCHoklch(42.77% 0.111 1.4)
XYZxyz(10.9318, 7.0587, 7.4420)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E304B #307E63
analogous
#7E3072 #7E304B #7E3C30
triadic
#7E304B #4B7E30 #304B7E
tetradic
#7E304B #727E30 #307E63 #3C307E
square
#7E304B #727E30 #307E63 #3C307E
split-complementary
#7E304B #307E3C #30727E
monochromatic
#250E16 #521F31 #7E304B #AA4165 #C46485

Accessibility & contrast

On white

8.71
#7E304B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E304B
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E304B#FFFFFF#000000##FFFFFF
##7E304B1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e304b;
/* rgb */ color: rgb(126, 48, 75);
/* oklch */ color: oklch(42.8% 0.111 1.4);
Tailwind
colors: {
  custom: {
    50: '#a76c7d',
    500: '#7e304b',
    950: '#000000',
  },
}
SCSS
$custom: #7e304b;
$custom-light: #a76c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e304b",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 75
  },
  "hsl": {
    "h": 339.231,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42773,
    "c": 0.11144,
    "h": 1.4
  },
  "luminance": 0.07058
}

Semantic roles & 50–950 ramp

primary
#7E304B
secondary
#5FAB91
accent
#D5A853
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7E304B

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

Preview Lab → · Contrast checker → · Palette generator →

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