#7E305D#7E305D

#7E305D is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.4% C 0.120 H 347.6°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7E305D
RGBrgb(126, 48, 93)
HSLhsl(325, 45%, 34%)
HSVhsv(325, 62%, 49%)
CMYKcmyk(0%, 61.9%, 26.2%, 50.6%)
CIE-LABlab(32.57, 38.92, -9.85)
CIE-LCHlch(32.57, 40.15, 345.80°)
OKLaboklab(43.45% 0.1175 -0.0259)
OKLCHoklch(43.45% 0.12 347.6)
XYZxyz(11.6373, 7.3409, 11.1579)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E305D #307E51
analogous
#78307E #7E305D #7E3036
triadic
#7E305D #5D7E30 #305D7E
tetradic
#7E305D #7E7830 #307E51 #30367E
square
#7E305D #7E7830 #307E51 #30367E
split-complementary
#7E305D #367E30 #307E78
monochromatic
#250E1C #521F3C #7E305D #AA417E #C4649C

Accessibility & contrast

On white

8.51
#7E305D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7E305D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E305D
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E305D#FFFFFF#000000##FFFFFF
##7E305D1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39445E
Deuteranopia (green-blind)
#4E525B
Tritanopia (blue-blind)
#862E42
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e305d;
/* rgb */ color: rgb(126, 48, 93);
/* oklch */ color: oklch(43.4% 0.120 347.6);
Tailwind
colors: {
  custom: {
    50: '#a66d8b',
    500: '#7e305d',
    950: '#000000',
  },
}
SCSS
$custom: #7e305d;
$custom-light: #a66d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e305d",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 93
  },
  "hsl": {
    "h": 325.385,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43449,
    "c": 0.12031,
    "h": 347.6
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#7E305D
secondary
#5FAB7F
accent
#D58A53
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E305D

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

Preview Lab → · Contrast checker → · Palette generator →

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