#631242#631242

#631242 is a dark, vivid pink. Relative luminance 0.035; OKLCH L 34.3% C 0.123 H 349.5°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#631242
RGBrgb(99, 18, 66)
HSLhsl(324, 69%, 23%)
HSVhsv(324, 82%, 39%)
CMYKcmyk(0%, 81.8%, 33.3%, 61.2%)
CIE-LABlab(21.87, 39.61, -8.60)
CIE-LCHlch(21.87, 40.53, 347.75°)
OKLaboklab(34.28% 0.1211 -0.0225)
OKLCHoklch(34.28% 0.123 349.5)
XYZxyz(6.3456, 3.4794, 5.4906)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631242 #126333
analogous
#5B1263 #631242 #63121A
triadic
#631242 #426312 #124263
tetradic
#631242 #635B12 #126333 #121A63
square
#631242 #635B12 #126333 #121A63
split-complementary
#631242 #1A6312 #12635B
monochromatic
#1A0511 #2F091F #631242 #971B65 #CB2587

Accessibility & contrast

On white

12.38
#631242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#631242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631242
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631242#FFFFFF#000000##FFFFFF
##6312421.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B43
Deuteranopia (green-blind)
#373940
Tritanopia (blue-blind)
#6B0D28
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #631242;
/* rgb */ color: rgb(99, 18, 66);
/* oklch */ color: oklch(34.3% 0.123 349.5);
Tailwind
colors: {
  custom: {
    50: '#935a76',
    500: '#631242',
    950: '#000000',
  },
}
SCSS
$custom: #631242;
$custom-light: #935a76;
$custom-dark: #000000;
JSON
{
  "hex": "#631242",
  "rgb": {
    "r": 99,
    "g": 18,
    "b": 66
  },
  "hsl": {
    "h": 324.444,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34278,
    "c": 0.12318,
    "h": 349.5
  },
  "luminance": 0.03479
}

Semantic roles & 50–950 ramp

primary
#631242
secondary
#369B5F
accent
#EC843C
background
#F9F5F7
surface
#F2E9ED
border
#CCC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #631242

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

Preview Lab → · Contrast checker → · Palette generator →

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