#7F2163#7F2163

#7F2163 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.147 H 342.3°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#7F2163
RGBrgb(127, 33, 99)
HSLhsl(318, 59%, 31%)
HSVhsv(318, 74%, 50%)
CMYKcmyk(0%, 74%, 22%, 50.2%)
CIE-LABlab(30.64, 46.59, -16.65)
CIE-LCHlch(30.64, 49.48, 340.34°)
OKLaboklab(42.15% 0.1399 -0.0446)
OKLCHoklch(42.15% 0.147 342.3)
XYZxyz(11.5488, 6.5018, 12.4487)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2163 #217F3D
analogous
#6C217F #7F2163 #7F2134
triadic
#7F2163 #637F21 #21637F
tetradic
#7F2163 #7F6C21 #217F3D #21347F
square
#7F2163 #7F6C21 #217F3D #21347F
split-complementary
#7F2163 #347F21 #217F6C
monochromatic
#1E0817 #4E143D #7F2163 #B02E89 #D04AA8

Accessibility & contrast

On white

9.13
#7F2163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7F2163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2163
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2163#FFFFFF#000000##FFFFFF
##7F21631.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3E65
Deuteranopia (green-blind)
#474E61
Tritanopia (blue-blind)
#87223F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2163;
/* rgb */ color: rgb(127, 33, 99);
/* oklch */ color: oklch(42.2% 0.147 342.3);
Tailwind
colors: {
  custom: {
    50: '#a7668f',
    500: '#7f2163',
    950: '#000000',
  },
}
SCSS
$custom: #7f2163;
$custom-light: #a7668f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2163",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 99
  },
  "hsl": {
    "h": 317.872,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42153,
    "c": 0.14682,
    "h": 342.3
  },
  "luminance": 0.06501
}

Semantic roles & 50–950 ramp

primary
#7F2163
secondary
#4AB269
accent
#E27446
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F2163

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

Preview Lab → · Contrast checker → · Palette generator →

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