#731258#731258

#731258 is a dark, vivid pink. Relative luminance 0.048; OKLCH L 38.3% C 0.148 H 342.4°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#731258
RGBrgb(115, 18, 88)
HSLhsl(317, 73%, 26%)
HSVhsv(317, 84%, 45%)
CMYKcmyk(0%, 84.3%, 23.5%, 54.9%)
CIE-LABlab(26.11, 46.81, -16.66)
CIE-LCHlch(26.11, 49.68, 340.41°)
OKLaboklab(38.27% 0.1411 -0.0447)
OKLCHoklch(38.27% 0.148 342.4)
XYZxyz(9.0483, 4.7830, 9.6773)
Luminance0.0478 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731258 #12732D
analogous
#5D1273 #731258 #731227
triadic
#731258 #587312 #125873
tetradic
#731258 #735D12 #12732D #122773
square
#731258 #735D12 #12732D #122773
split-complementary
#731258 #277312 #12735D
monochromatic
#1A0414 #3E0A30 #731258 #A81A80 #DD23A9

Accessibility & contrast

On white

10.73
#731258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#731258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731258
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731258#FFFFFF#000000##FFFFFF
##7312581.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D345A
Deuteranopia (green-blind)
#3D4356
Tritanopia (blue-blind)
#7B1334
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #731258;
/* rgb */ color: rgb(115, 18, 88);
/* oklch */ color: oklch(38.3% 0.148 342.4);
Tailwind
colors: {
  custom: {
    50: '#9f5d87',
    500: '#731258',
    950: '#000000',
  },
}
SCSS
$custom: #731258;
$custom-light: #9f5d87;
$custom-dark: #000000;
JSON
{
  "hex": "#731258",
  "rgb": {
    "r": 115,
    "g": 18,
    "b": 88
  },
  "hsl": {
    "h": 316.701,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3827,
    "c": 0.14801,
    "h": 342.4
  },
  "luminance": 0.04782
}

Semantic roles & 50–950 ramp

primary
#731258
secondary
#37AA57
accent
#F06B38
background
#FAF5F8
surface
#F4EAEF
border
#CEC6CA
text
#0F050B
muted
#7F797C

Preview Lab

Preview with #731258

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

Preview Lab → · Contrast checker → · Palette generator →

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