#731254#731254

#731254 is a dark, vivid pink. Relative luminance 0.047; OKLCH L 38.1% C 0.145 H 344.8°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#731254
RGBrgb(115, 18, 84)
HSLhsl(319, 73%, 26%)
HSVhsv(319, 84%, 45%)
CMYKcmyk(0%, 84.3%, 27%, 54.9%)
CIE-LABlab(25.92, 46.26, -14.29)
CIE-LCHlch(25.92, 48.42, 342.83°)
OKLaboklab(38.07% 0.1404 -0.0381)
OKLCHoklch(38.07% 0.145 344.8)
XYZxyz(8.8872, 4.7185, 8.8285)
Luminance0.0472 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731254 #127331
analogous
#611273 #731254 #731223
triadic
#731254 #547312 #125473
tetradic
#731254 #736112 #127331 #122373
square
#731254 #736112 #127331 #122373
split-complementary
#731254 #237312 #127361
monochromatic
#1A0413 #3E0A2D #731254 #A81A7B #DD23A1

Accessibility & contrast

On white

10.80
#731254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731254
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731254#FFFFFF#000000##FFFFFF
##7312541.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203356
Deuteranopia (green-blind)
#3E4352
Tritanopia (blue-blind)
#7B1032
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #731254;
/* rgb */ color: rgb(115, 18, 84);
/* oklch */ color: oklch(38.1% 0.145 344.8);
Tailwind
colors: {
  custom: {
    50: '#9f5d84',
    500: '#731254',
    950: '#000000',
  },
}
SCSS
$custom: #731254;
$custom-light: #9f5d84;
$custom-dark: #000000;
JSON
{
  "hex": "#731254",
  "rgb": {
    "r": 115,
    "g": 18,
    "b": 84
  },
  "hsl": {
    "h": 319.175,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38071,
    "c": 0.14548,
    "h": 344.8
  },
  "luminance": 0.04718
}

Semantic roles & 50–950 ramp

primary
#731254
secondary
#37AA5C
accent
#F07338
background
#FAF5F8
surface
#F4E9EF
border
#CEC5CA
text
#0F050B
muted
#7F797C

Preview Lab

Preview with #731254

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

Preview Lab → · Contrast checker → · Palette generator →

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