#7F246E#7F246E

#7F246E is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.151 H 336.3°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#7F246E
RGBrgb(127, 36, 110)
HSLhsl(311, 56%, 32%)
HSVhsv(311, 72%, 50%)
CMYKcmyk(0%, 71.7%, 13.4%, 50.2%)
CIE-LABlab(31.58, 47.12, -22.26)
CIE-LCHlch(31.58, 52.11, 334.72°)
OKLaboklab(43% 0.1382 -0.0606)
OKLCHoklch(43% 0.151 336.3)
XYZxyz(12.1979, 6.9006, 15.4384)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F246E #247F35
analogous
#63247F #7F246E #7F2441
triadic
#7F246E #6E7F24 #246E7F
tetradic
#7F246E #7F6324 #247F35 #24417F
square
#7F246E #7F6324 #247F35 #24417F
split-complementary
#7F246E #417F24 #247F63
monochromatic
#20091B #4F1645 #7F246E #AF3297 #CD50B6

Accessibility & contrast

On white

8.82
#7F246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7F246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F246E
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F246E#FFFFFF#000000##FFFFFF
##7F246E1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264170
Deuteranopia (green-blind)
#444F6C
Tritanopia (blue-blind)
#862A46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f246e;
/* rgb */ color: rgb(127, 36, 110);
/* oklch */ color: oklch(43.0% 0.151 336.3);
Tailwind
colors: {
  custom: {
    50: '#a76798',
    500: '#7f246e',
    950: '#000000',
  },
}
SCSS
$custom: #7f246e;
$custom-light: #a76798;
$custom-dark: #000000;
JSON
{
  "hex": "#7f246e",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 311.209,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43003,
    "c": 0.15085,
    "h": 336.3
  },
  "luminance": 0.069
}

Semantic roles & 50–950 ramp

primary
#7F246E
secondary
#4EB160
accent
#DF6549
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F246E

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

Preview Lab → · Contrast checker → · Palette generator →

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