#7E2850#7E2850

#7E2850 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.9% C 0.125 H 355.2°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7E2850
RGBrgb(126, 40, 80)
HSLhsl(332, 52%, 33%)
HSVhsv(332, 68%, 49%)
CMYKcmyk(0%, 68.3%, 36.5%, 50.6%)
CIE-LABlab(30.72, 40.88, -4.18)
CIE-LCHlch(30.72, 41.09, 354.16°)
OKLaboklab(41.92% 0.125 -0.0105)
OKLCHoklch(41.92% 0.125 355.2)
XYZxyz(10.8116, 6.5336, 8.2796)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2850 #287E56
analogous
#7E287B #7E2850 #7E2B28
triadic
#7E2850 #507E28 #28507E
tetradic
#7E2850 #7B7E28 #287E56 #2B287E
square
#7E2850 #7B7E28 #287E56 #2B287E
split-complementary
#7E2850 #287E2B #287B7E
monochromatic
#210B15 #501933 #7E2850 #AC376D #CA578C

Accessibility & contrast

On white

9.11
#7E2850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7E2850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2850
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2850#FFFFFF#000000##FFFFFF
##7E28501.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E51
Deuteranopia (green-blind)
#4E4E4E
Tritanopia (blue-blind)
#882138
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2850;
/* rgb */ color: rgb(126, 40, 80);
/* oklch */ color: oklch(41.9% 0.125 355.2);
Tailwind
colors: {
  custom: {
    50: '#a76881',
    500: '#7e2850',
    950: '#000000',
  },
}
SCSS
$custom: #7e2850;
$custom-light: #a76881;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2850",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 80
  },
  "hsl": {
    "h": 332.093,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41922,
    "c": 0.12541,
    "h": 355.2
  },
  "luminance": 0.06532
}

Semantic roles & 50–950 ramp

primary
#7E2850
secondary
#53AF84
accent
#DB994D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E2850

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

Preview Lab → · Contrast checker → · Palette generator →

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