#7D256E#7D256E

#7D256E is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.148 H 335.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#7D256E
RGBrgb(125, 37, 110)
HSLhsl(310, 54%, 32%)
HSVhsv(310, 70%, 49%)
CMYKcmyk(0%, 70.4%, 12%, 51%)
CIE-LABlab(31.37, 46.19, -22.61)
CIE-LCHlch(31.37, 51.42, 333.92°)
OKLaboklab(42.78% 0.1348 -0.0616)
OKLCHoklch(42.78% 0.148 335.4)
XYZxyz(11.9336, 6.8099, 15.4348)
Luminance0.0681 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D256E #257D34
analogous
#60257D #7D256E #7D2542
triadic
#7D256E #6E7D25 #256E7D
tetradic
#7D256E #7D6025 #257D34 #25427D
square
#7D256E #7D6025 #257D34 #25427D
split-complementary
#7D256E #427D25 #257D60
monochromatic
#1F091B #4E1744 #7D256E #AC3398 #CB51B7

Accessibility & contrast

On white

8.89
#7D256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7D256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D256E
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D256E#FFFFFF#000000##FFFFFF
##7D256E1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254170
Deuteranopia (green-blind)
#434F6C
Tritanopia (blue-blind)
#832B46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d256e;
/* rgb */ color: rgb(125, 37, 110);
/* oklch */ color: oklch(42.8% 0.148 335.4);
Tailwind
colors: {
  custom: {
    50: '#a66798',
    500: '#7d256e',
    950: '#000000',
  },
}
SCSS
$custom: #7d256e;
$custom-light: #a66798;
$custom-dark: #000000;
JSON
{
  "hex": "#7d256e",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 310.227,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42784,
    "c": 0.14822,
    "h": 335.4
  },
  "luminance": 0.06809
}

Semantic roles & 50–950 ramp

primary
#7D256E
secondary
#4FAF5F
accent
#DE634A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D256E

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

Preview Lab → · Contrast checker → · Palette generator →

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