#7F1B68#7F1B68

#7F1B68 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.9% C 0.157 H 339.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#7F1B68
RGBrgb(127, 27, 104)
HSLhsl(314, 65%, 30%)
HSVhsv(314, 79%, 50%)
CMYKcmyk(0%, 78.7%, 18.1%, 50.2%)
CIE-LABlab(30.15, 49.41, -20.64)
CIE-LCHlch(30.15, 53.55, 337.32°)
OKLaboklab(41.87% 0.147 -0.0559)
OKLCHoklch(41.87% 0.157 339.2)
XYZxyz(11.6433, 6.2965, 13.6962)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1B68 #1B7F32
analogous
#641B7F #7F1B68 #7F1B36
triadic
#7F1B68 #687F1B #1B687F
tetradic
#7F1B68 #7F641B #1B7F32 #1B367F
square
#7F1B68 #7F641B #1B7F32 #1B367F
split-complementary
#7F1B68 #367F1B #1B7F64
monochromatic
#1A0615 #4D103F #7F1B68 #B12691 #D63EB3

Accessibility & contrast

On white

9.30
#7F1B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7F1B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1B68
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1B68#FFFFFF#000000##FFFFFF
##7F1B681.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213D6A
Deuteranopia (green-blind)
#434D66
Tritanopia (blue-blind)
#871F40
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1b68;
/* rgb */ color: rgb(127, 27, 104);
/* oklch */ color: oklch(41.9% 0.157 339.2);
Tailwind
colors: {
  custom: {
    50: '#a86393',
    500: '#7f1b68',
    950: '#000000',
  },
}
SCSS
$custom: #7f1b68;
$custom-light: #a86393;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1b68",
  "rgb": {
    "r": 127,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 313.8,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41871,
    "c": 0.15727,
    "h": 339.2
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#7F1B68
secondary
#43B35D
accent
#E86740
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F1B68

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

Preview Lab → · Contrast checker → · Palette generator →

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