#731252#731252

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

Color values

HEX#731252
RGBrgb(115, 18, 82)
HSLhsl(320, 73%, 26%)
HSVhsv(320, 84%, 45%)
CMYKcmyk(0%, 84.3%, 28.7%, 54.9%)
CIE-LABlab(25.83, 46.00, -13.10)
CIE-LCHlch(25.83, 47.83, 344.10°)
OKLaboklab(37.97% 0.14 -0.0348)
OKLCHoklch(37.97% 0.144 346.1)
XYZxyz(8.8100, 4.6877, 8.4219)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731252 #127333
analogous
#631273 #731252 #731222
triadic
#731252 #527312 #125273
tetradic
#731252 #736312 #127333 #122273
square
#731252 #736312 #127333 #122273
split-complementary
#731252 #227312 #127363
monochromatic
#1A0413 #3E0A2C #731252 #A81A78 #DD239D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##731252#FFFFFF#000000##FFFFFF
##7312521.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)
#213354
Deuteranopia (green-blind)
#3F4350
Tritanopia (blue-blind)
#7B0F31
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #731252;
/* rgb */ color: rgb(115, 18, 82);
/* oklch */ color: oklch(38.0% 0.144 346.1);
Tailwind
colors: {
  custom: {
    50: '#9f5d82',
    500: '#731252',
    950: '#000000',
  },
}
SCSS
$custom: #731252;
$custom-light: #9f5d82;
$custom-dark: #000000;
JSON
{
  "hex": "#731252",
  "rgb": {
    "r": 115,
    "g": 18,
    "b": 82
  },
  "hsl": {
    "h": 320.412,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.37975,
    "c": 0.14425,
    "h": 346.1
  },
  "luminance": 0.04687
}

Semantic roles & 50–950 ramp

primary
#731252
secondary
#37AA5E
accent
#F07738
background
#FAF5F7
surface
#F4E9EE
border
#CEC5C9
text
#0F050A
muted
#7F797C

Preview Lab

Preview with #731252

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

Preview Lab → · Contrast checker → · Palette generator →

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