#631231#631231

#631231 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.6% C 0.116 H 3.1°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#631231
RGBrgb(99, 18, 49)
HSLhsl(337, 69%, 23%)
HSVhsv(337, 82%, 39%)
CMYKcmyk(0%, 81.8%, 50.5%, 61.2%)
CIE-LABlab(21.24, 37.66, 2.28)
CIE-LCHlch(21.24, 37.73, 3.46°)
OKLaboklab(33.61% 0.1154 0.0062)
OKLCHoklch(33.61% 0.116 3.1)
XYZxyz(5.9168, 3.3078, 3.2320)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631231 #126344
analogous
#631259 #631231 #631B12
triadic
#631231 #316312 #123163
tetradic
#631231 #596312 #126344 #1B1263
square
#631231 #596312 #126344 #1B1263
split-complementary
#631231 #12631B #125963
monochromatic
#1A050D #2F0917 #631231 #971B4B #CB2564

Accessibility & contrast

On white

12.64
#631231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#631231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631231
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631231#FFFFFF#000000##FFFFFF
##6312311.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262932
Deuteranopia (green-blind)
#3B392F
Tritanopia (blue-blind)
#6C0120
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #631231;
/* rgb */ color: rgb(99, 18, 49);
/* oklch */ color: oklch(33.6% 0.116 3.1);
Tailwind
colors: {
  custom: {
    50: '#945968',
    500: '#631231',
    950: '#000000',
  },
}
SCSS
$custom: #631231;
$custom-light: #945968;
$custom-dark: #000000;
JSON
{
  "hex": "#631231",
  "rgb": {
    "r": 99,
    "g": 18,
    "b": 49
  },
  "hsl": {
    "h": 337.037,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33608,
    "c": 0.11559,
    "h": 3.1
  },
  "luminance": 0.03307
}

Semantic roles & 50–950 ramp

primary
#631231
secondary
#369B74
accent
#ECA93C
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0E0406
muted
#7E797A

Preview Lab

Preview with #631231

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

Preview Lab → · Contrast checker → · Palette generator →

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