#751248#751248

#751248 is a dark, vivid pink. Relative luminance 0.047; OKLCH L 37.9% C 0.140 H 353.3°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#751248
RGBrgb(117, 18, 72)
HSLhsl(327, 73%, 26%)
HSVhsv(327, 85%, 46%)
CMYKcmyk(0%, 84.6%, 38.5%, 54.1%)
CIE-LABlab(25.81, 45.30, -6.37)
CIE-LCHlch(25.81, 45.75, 352.00°)
OKLaboklab(37.9% 0.1393 -0.0163)
OKLCHoklch(37.9% 0.14 353.3)
XYZxyz(8.7227, 4.6835, 6.5743)
Luminance0.0468 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751248 #12753F
analogous
#711275 #751248 #751217
triadic
#751248 #487512 #124875
tetradic
#751248 #757112 #12753F #121775
square
#751248 #757112 #12753F #121775
split-complementary
#751248 #177512 #127571
monochromatic
#1B0410 #400A27 #751248 #AA1A69 #DD2489

Accessibility & contrast

On white

10.84
#751248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#751248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751248
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751248#FFFFFF#000000##FFFFFF
##7512481.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273249
Deuteranopia (green-blind)
#434446
Tritanopia (blue-blind)
#7F042C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #751248;
/* rgb */ color: rgb(117, 18, 72);
/* oklch */ color: oklch(37.9% 0.140 353.3);
Tailwind
colors: {
  custom: {
    50: '#a15d7b',
    500: '#751248',
    950: '#000000',
  },
}
SCSS
$custom: #751248;
$custom-light: #a15d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#751248",
  "rgb": {
    "r": 117,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 327.273,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.37903,
    "c": 0.14025,
    "h": 353.3
  },
  "luminance": 0.04682
}

Semantic roles & 50–950 ramp

primary
#751248
secondary
#37AC6C
accent
#F08C38
background
#FAF5F7
surface
#F4E9ED
border
#CEC5C8
text
#0F0509
muted
#7F797B

Preview Lab

Preview with #751248

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

Preview Lab → · Contrast checker → · Palette generator →

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