#7E285D#7E285D

#7E285D is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.133 H 346.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#7E285D
RGBrgb(126, 40, 93)
HSLhsl(323, 52%, 33%)
HSVhsv(323, 68%, 49%)
CMYKcmyk(0%, 68.3%, 26.2%, 50.6%)
CIE-LABlab(31.22, 42.61, -11.90)
CIE-LCHlch(31.22, 44.24, 344.40°)
OKLaboklab(42.45% 0.1288 -0.0315)
OKLCHoklch(42.45% 0.133 346.3)
XYZxyz(11.3392, 6.7447, 11.0585)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E285D #287E49
analogous
#74287E #7E285D #7E2832
triadic
#7E285D #5D7E28 #285D7E
tetradic
#7E285D #7E7428 #287E49 #28327E
square
#7E285D #7E7428 #287E49 #28327E
split-complementary
#7E285D #327E28 #287E74
monochromatic
#210B18 #50193B #7E285D #AC377F #CA579E

Accessibility & contrast

On white

8.94
#7E285D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7E285D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E285D
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E285D#FFFFFF#000000##FFFFFF
##7E285D1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32405F
Deuteranopia (green-blind)
#4B4F5B
Tritanopia (blue-blind)
#87263E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e285d;
/* rgb */ color: rgb(126, 40, 93);
/* oklch */ color: oklch(42.5% 0.133 346.3);
Tailwind
colors: {
  custom: {
    50: '#a6698b',
    500: '#7e285d',
    950: '#000000',
  },
}
SCSS
$custom: #7e285d;
$custom-light: #a6698b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e285d",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 323.023,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42452,
    "c": 0.1326,
    "h": 346.3
  },
  "luminance": 0.06744
}

Semantic roles & 50–950 ramp

primary
#7E285D
secondary
#53AF76
accent
#DB834D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E285D

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

Preview Lab → · Contrast checker → · Palette generator →

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