#731231#731231

#731231 is a dark, vivid pink. Relative luminance 0.043; OKLCH L 36.7% C 0.131 H 8.5°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#731231
RGBrgb(115, 18, 49)
HSLhsl(341, 73%, 26%)
HSVhsv(341, 84%, 45%)
CMYKcmyk(0%, 84.3%, 57.4%, 54.9%)
CIE-LABlab(24.64, 42.49, 7.57)
CIE-LCHlch(24.64, 43.16, 10.10°)
OKLaboklab(36.72% 0.1293 0.0193)
OKLCHoklch(36.72% 0.131 8.5)
XYZxyz(7.8417, 4.3003, 3.3223)
Luminance0.0430 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731231 #127354
analogous
#731261 #731231 #732312
triadic
#731231 #317312 #123173
tetradic
#731231 #617312 #127354 #231273
square
#731231 #617312 #127354 #231273
split-complementary
#731231 #127323 #126173
monochromatic
#1A040B #3E0A1A #731231 #A81A48 #DD235E

Accessibility & contrast

On white

11.29
#731231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#731231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731231
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731231#FFFFFF#000000##FFFFFF
##7312311.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2E32
Deuteranopia (green-blind)
#46412F
Tritanopia (blue-blind)
#7E0020
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #731231;
/* rgb */ color: rgb(115, 18, 49);
/* oklch */ color: oklch(36.7% 0.131 8.5);
Tailwind
colors: {
  custom: {
    50: '#a15c68',
    500: '#731231',
    950: '#000000',
  },
}
SCSS
$custom: #731231;
$custom-light: #a15c68;
$custom-dark: #000000;
JSON
{
  "hex": "#731231",
  "rgb": {
    "r": 115,
    "g": 18,
    "b": 49
  },
  "hsl": {
    "h": 340.825,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36723,
    "c": 0.13075,
    "h": 8.5
  },
  "luminance": 0.04299
}

Semantic roles & 50–950 ramp

primary
#731231
secondary
#37AA85
accent
#F0B538
background
#FAF5F6
surface
#F4E9EB
border
#CEC5C6
text
#100406
muted
#7F797A

Preview Lab

Preview with #731231

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

Preview Lab → · Contrast checker → · Palette generator →

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