#7F2256#7F2256

#7F2256 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.138 H 350.4°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#7F2256
RGBrgb(127, 34, 86)
HSLhsl(326, 58%, 32%)
HSVhsv(326, 73%, 50%)
CMYKcmyk(0%, 73.2%, 32.3%, 50.2%)
CIE-LABlab(30.23, 44.44, -8.83)
CIE-LCHlch(30.23, 45.31, 348.76°)
OKLaboklab(41.67% 0.1356 -0.023)
OKLCHoklch(41.67% 0.138 350.4)
XYZxyz(11.0047, 6.3292, 9.4444)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2256 #227F4B
analogous
#7A227F #7F2256 #7F2227
triadic
#7F2256 #567F22 #22567F
tetradic
#7F2256 #7F7A22 #227F4B #22277F
square
#7F2256 #7F7A22 #227F4B #22277F
split-complementary
#7F2256 #277F22 #227F7A
monochromatic
#1E0815 #4F1535 #7F2256 #AF2F77 #CF4C95

Accessibility & contrast

On white

9.27
#7F2256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7F2256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2256
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2256#FFFFFF#000000##FFFFFF
##7F22561.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303D57
Deuteranopia (green-blind)
#4B4D54
Tritanopia (blue-blind)
#891D39
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2256;
/* rgb */ color: rgb(127, 34, 86);
/* oklch */ color: oklch(41.7% 0.138 350.4);
Tailwind
colors: {
  custom: {
    50: '#a86685',
    500: '#7f2256',
    950: '#000000',
  },
}
SCSS
$custom: #7f2256;
$custom-light: #a86685;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2256",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 326.452,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41668,
    "c": 0.13756,
    "h": 350.4
  },
  "luminance": 0.06328
}

Semantic roles & 50–950 ramp

primary
#7F2256
secondary
#4BB278
accent
#E18B47
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F2256

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

Preview Lab → · Contrast checker → · Palette generator →

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