#731257#731257

#731257 is a dark, vivid pink. Relative luminance 0.048; OKLCH L 38.2% C 0.147 H 343.0°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#731257
RGBrgb(115, 18, 87)
HSLhsl(317, 73%, 26%)
HSVhsv(317, 84%, 45%)
CMYKcmyk(0%, 84.3%, 24.3%, 54.9%)
CIE-LABlab(26.06, 46.67, -16.07)
CIE-LCHlch(26.06, 49.36, 341.00°)
OKLaboklab(38.22% 0.1409 -0.0431)
OKLCHoklch(38.22% 0.147 343)
XYZxyz(9.0072, 4.7666, 9.4607)
Luminance0.0477 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731257 #12732E
analogous
#5E1273 #731257 #731226
triadic
#731257 #577312 #125773
tetradic
#731257 #735E12 #12732E #122673
square
#731257 #735E12 #12732E #122673
split-complementary
#731257 #267312 #12735E
monochromatic
#1A0414 #3E0A2F #731257 #A81A7F #DD23A7

Accessibility & contrast

On white

10.75
#731257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#731257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731257
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731257#FFFFFF#000000##FFFFFF
##7312571.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3459
Deuteranopia (green-blind)
#3D4355
Tritanopia (blue-blind)
#7B1234
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #731257;
/* rgb */ color: rgb(115, 18, 87);
/* oklch */ color: oklch(38.2% 0.147 343.0);
Tailwind
colors: {
  custom: {
    50: '#9f5d86',
    500: '#731257',
    950: '#000000',
  },
}
SCSS
$custom: #731257;
$custom-light: #9f5d86;
$custom-dark: #000000;
JSON
{
  "hex": "#731257",
  "rgb": {
    "r": 115,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 317.32,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3822,
    "c": 0.14737,
    "h": 343
  },
  "luminance": 0.04766
}

Semantic roles & 50–950 ramp

primary
#731257
secondary
#37AA58
accent
#F06D38
background
#FAF5F8
surface
#F4EAEF
border
#CEC6CA
text
#0F050B
muted
#7F797C

Preview Lab

Preview with #731257

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

Preview Lab → · Contrast checker → · Palette generator →

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