#7D256C#7D256C

#7D256C is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.147 H 336.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7D256C
RGBrgb(125, 37, 108)
HSLhsl(312, 54%, 32%)
HSVhsv(312, 70%, 49%)
CMYKcmyk(0%, 70.4%, 13.6%, 51%)
CIE-LABlab(31.27, 45.86, -21.49)
CIE-LCHlch(31.27, 50.65, 334.90°)
OKLaboklab(42.68% 0.1345 -0.0584)
OKLCHoklch(42.68% 0.147 336.5)
XYZxyz(11.8260, 6.7669, 14.8677)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D256C #257D36
analogous
#62257D #7D256C #7D2540
triadic
#7D256C #6C7D25 #256C7D
tetradic
#7D256C #7D6225 #257D36 #25407D
square
#7D256C #7D6225 #257D36 #25407D
split-complementary
#7D256C #407D25 #257D62
monochromatic
#1F091A #4E1743 #7D256C #AC3395 #CB51B4

Accessibility & contrast

On white

8.92
#7D256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D256C
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D256C#FFFFFF#000000##FFFFFF
##7D256C1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416E
Deuteranopia (green-blind)
#444E6A
Tritanopia (blue-blind)
#842A45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d256c;
/* rgb */ color: rgb(125, 37, 108);
/* oklch */ color: oklch(42.7% 0.147 336.5);
Tailwind
colors: {
  custom: {
    50: '#a66796',
    500: '#7d256c',
    950: '#000000',
  },
}
SCSS
$custom: #7d256c;
$custom-light: #a66796;
$custom-dark: #000000;
JSON
{
  "hex": "#7d256c",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 311.591,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42679,
    "c": 0.14667,
    "h": 336.5
  },
  "luminance": 0.06766
}

Semantic roles & 50–950 ramp

primary
#7D256C
secondary
#4FAF61
accent
#DE674A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D256C

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

Preview Lab → · Contrast checker → · Palette generator →

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