#7E255B#7E255B

#7E255B is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.136 H 347.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#7E255B
RGBrgb(126, 37, 91)
HSLhsl(324, 55%, 32%)
HSVhsv(324, 71%, 49%)
CMYKcmyk(0%, 70.6%, 27.8%, 50.6%)
CIE-LABlab(30.68, 43.60, -11.43)
CIE-LCHlch(30.68, 45.08, 345.31°)
OKLaboklab(42.03% 0.1322 -0.0301)
OKLCHoklch(42.03% 0.136 347.2)
XYZxyz(11.1546, 6.5153, 10.5656)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E255B #257E48
analogous
#75257E #7E255B #7E252E
triadic
#7E255B #5B7E25 #255B7E
tetradic
#7E255B #7E7525 #257E48 #252E7E
square
#7E255B #7E7525 #257E48 #252E7E
split-complementary
#7E255B #2E7E25 #257E75
monochromatic
#1F0917 #4F1739 #7E255B #AD337D #CC519C

Accessibility & contrast

On white

9.12
#7E255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7E255B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E255B
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E255B#FFFFFF#000000##FFFFFF
##7E255B1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303E5D
Deuteranopia (green-blind)
#4A4E59
Tritanopia (blue-blind)
#87223C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e255b;
/* rgb */ color: rgb(126, 37, 91);
/* oklch */ color: oklch(42.0% 0.136 347.2);
Tailwind
colors: {
  custom: {
    50: '#a76789',
    500: '#7e255b',
    950: '#000000',
  },
}
SCSS
$custom: #7e255b;
$custom-light: #a76789;
$custom-dark: #000000;
JSON
{
  "hex": "#7e255b",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 323.596,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42028,
    "c": 0.13561,
    "h": 347.2
  },
  "luminance": 0.06514
}

Semantic roles & 50–950 ramp

primary
#7E255B
secondary
#4FB075
accent
#DE844A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E255B

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

Preview Lab → · Contrast checker → · Palette generator →

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