#7E306D#7E306D

#7E306D is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.2% C 0.132 H 337.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7E306D
RGBrgb(126, 48, 109)
HSLhsl(313, 45%, 34%)
HSVhsv(313, 62%, 49%)
CMYKcmyk(0%, 61.9%, 13.5%, 50.6%)
CIE-LABlab(33.25, 41.44, -19.03)
CIE-LCHlch(33.25, 45.60, 335.33°)
OKLaboklab(44.18% 0.1214 -0.0515)
OKLCHoklch(44.18% 0.132 337)
XYZxyz(12.4216, 7.6546, 15.2883)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E306D #307E41
analogous
#68307E #7E306D #7E3046
triadic
#7E306D #6D7E30 #306D7E
tetradic
#7E306D #7E6830 #307E41 #30467E
square
#7E306D #7E6830 #307E41 #30467E
split-complementary
#7E306D #467E30 #307E68
monochromatic
#250E20 #521F47 #7E306D #AA4193 #C464AF

Accessibility & contrast

On white

8.30
#7E306D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7E306D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E306D
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E306D#FFFFFF#000000##FFFFFF
##7E306D1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32476F
Deuteranopia (green-blind)
#49536B
Tritanopia (blue-blind)
#84344A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e306d;
/* rgb */ color: rgb(126, 48, 109);
/* oklch */ color: oklch(44.2% 0.132 337.0);
Tailwind
colors: {
  custom: {
    50: '#a66d97',
    500: '#7e306d',
    950: '#000000',
  },
}
SCSS
$custom: #7e306d;
$custom-light: #a66d97;
$custom-dark: #000000;
JSON
{
  "hex": "#7e306d",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 313.077,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44176,
    "c": 0.13185,
    "h": 337
  },
  "luminance": 0.07654
}

Semantic roles & 50–950 ramp

primary
#7E306D
secondary
#5FAB6F
accent
#D56F53
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E306D

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

Preview Lab → · Contrast checker → · Palette generator →

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