#7D256B#7D256B

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

Color values

HEX#7D256B
RGBrgb(125, 37, 107)
HSLhsl(312, 54%, 32%)
HSVhsv(312, 70%, 49%)
CMYKcmyk(0%, 70.4%, 14.4%, 51%)
CIE-LABlab(31.22, 45.70, -20.93)
CIE-LCHlch(31.22, 50.27, 335.40°)
OKLaboklab(42.63% 0.1344 -0.0568)
OKLCHoklch(42.63% 0.146 337.1)
XYZxyz(11.7731, 6.7457, 14.5891)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D256B #257D37
analogous
#63257D #7D256B #7D253F
triadic
#7D256B #6B7D25 #256B7D
tetradic
#7D256B #7D6325 #257D37 #253F7D
square
#7D256B #7D6325 #257D37 #253F7D
split-complementary
#7D256B #3F7D25 #257D63
monochromatic
#1F091A #4E1743 #7D256B #AC3393 #CB51B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D256B#FFFFFF#000000##FFFFFF
##7D256B1.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)
#27416D
Deuteranopia (green-blind)
#444E69
Tritanopia (blue-blind)
#842A44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d256b;
/* rgb */ color: rgb(125, 37, 107);
/* oklch */ color: oklch(42.6% 0.146 337.1);
Tailwind
colors: {
  custom: {
    50: '#a66795',
    500: '#7d256b',
    950: '#000000',
  },
}
SCSS
$custom: #7d256b;
$custom-light: #a66795;
$custom-dark: #000000;
JSON
{
  "hex": "#7d256b",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 312.273,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42627,
    "c": 0.14591,
    "h": 337.1
  },
  "luminance": 0.06745
}

Semantic roles & 50–950 ramp

primary
#7D256B
secondary
#4FAF62
accent
#DE684A
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D256B

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

Preview Lab → · Contrast checker → · Palette generator →

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