#751262#751262

#751262 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.2% C 0.156 H 337.7°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#751262
RGBrgb(117, 18, 98)
HSLhsl(312, 73%, 26%)
HSVhsv(312, 85%, 46%)
CMYKcmyk(0%, 84.6%, 16.2%, 54.1%)
CIE-LABlab(27.01, 48.73, -21.79)
CIE-LCHlch(27.01, 53.38, 335.90°)
OKLaboklab(39.16% 0.1443 -0.0593)
OKLCHoklch(39.16% 0.156 337.7)
XYZxyz(9.7573, 5.0973, 12.0229)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751262 #127525
analogous
#571275 #751262 #751231
triadic
#751262 #627512 #126275
tetradic
#751262 #755712 #127525 #123175
square
#751262 #755712 #127525 #123175
split-complementary
#751262 #317512 #127557
monochromatic
#1B0416 #400A36 #751262 #AA1A8E #DD24BA

Accessibility & contrast

On white

10.40
#751262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#751262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751262
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751262#FFFFFF#000000##FFFFFF
##7512621.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173664
Deuteranopia (green-blind)
#3A4560
Tritanopia (blue-blind)
#7C193A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #751262;
/* rgb */ color: rgb(117, 18, 98);
/* oklch */ color: oklch(39.2% 0.156 337.7);
Tailwind
colors: {
  custom: {
    50: '#a05e8f',
    500: '#751262',
    950: '#000000',
  },
}
SCSS
$custom: #751262;
$custom-light: #a05e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#751262",
  "rgb": {
    "r": 117,
    "g": 18,
    "b": 98
  },
  "hsl": {
    "h": 311.515,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39158,
    "c": 0.15599,
    "h": 337.7
  },
  "luminance": 0.05096
}

Semantic roles & 50–950 ramp

primary
#751262
secondary
#37AC4E
accent
#F05B38
background
#FAF5F8
surface
#F4EAF0
border
#CEC6CB
text
#0F050C
muted
#7F797D

Preview Lab

Preview with #751262

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

Preview Lab → · Contrast checker → · Palette generator →

#751262 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva