#731255#731255

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

Color values

HEX#731255
RGBrgb(115, 18, 85)
HSLhsl(319, 73%, 26%)
HSVhsv(319, 84%, 45%)
CMYKcmyk(0%, 84.3%, 26.1%, 54.9%)
CIE-LABlab(25.96, 46.40, -14.89)
CIE-LCHlch(25.96, 48.73, 342.21°)
OKLaboklab(38.12% 0.1406 -0.0398)
OKLCHoklch(38.12% 0.146 344.2)
XYZxyz(8.9266, 4.7343, 9.0363)
Luminance0.0473 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731255 #127330
analogous
#601273 #731255 #731224
triadic
#731255 #557312 #125573
tetradic
#731255 #736012 #127330 #122473
square
#731255 #736012 #127330 #122473
split-complementary
#731255 #247312 #127360
monochromatic
#1A0414 #3E0A2E #731255 #A81A7C #DD23A3

Accessibility & contrast

On white

10.79
#731255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731255
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731255#FFFFFF#000000##FFFFFF
##7312551.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3357
Deuteranopia (green-blind)
#3E4353
Tritanopia (blue-blind)
#7B1133
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #731255;
/* rgb */ color: rgb(115, 18, 85);
/* oklch */ color: oklch(38.1% 0.146 344.2);
Tailwind
colors: {
  custom: {
    50: '#9f5d85',
    500: '#731255',
    950: '#000000',
  },
}
SCSS
$custom: #731255;
$custom-light: #9f5d85;
$custom-dark: #000000;
JSON
{
  "hex": "#731255",
  "rgb": {
    "r": 115,
    "g": 18,
    "b": 85
  },
  "hsl": {
    "h": 318.557,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3812,
    "c": 0.14609,
    "h": 344.2
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#731255
secondary
#37AA5B
accent
#F07138
background
#FAF5F8
surface
#F4E9EF
border
#CEC5CA
text
#0F050B
muted
#7F797C

Preview Lab

Preview with #731255

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

Preview Lab → · Contrast checker → · Palette generator →

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