#631052#631052

#631052 is a dark, vivid pink. Relative luminance 0.036; OKLCH L 34.9% C 0.136 H 338.1°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#631052
RGBrgb(99, 16, 82)
HSLhsl(312, 72%, 23%)
HSVhsv(312, 84%, 39%)
CMYKcmyk(0%, 83.8%, 17.2%, 61.2%)
CIE-LABlab(22.42, 42.52, -18.63)
CIE-LCHlch(22.42, 46.42, 336.33°)
OKLaboklab(34.93% 0.1261 -0.0506)
OKLCHoklch(34.93% 0.136 338.1)
XYZxyz(6.8540, 3.6331, 8.3213)
Luminance0.0363 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631052 #106321
analogous
#4A1063 #631052 #631029
triadic
#631052 #526310 #105263
tetradic
#631052 #634A10 #106321 #102963
square
#631052 #634A10 #106321 #102963
split-complementary
#631052 #296310 #10634A
monochromatic
#1A0416 #2E0726 #631052 #98197E #CC21A9

Accessibility & contrast

On white

12.16
#631052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#631052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631052
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631052#FFFFFF#000000##FFFFFF
##6310521.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142D54
Deuteranopia (green-blind)
#313A50
Tritanopia (blue-blind)
#691530
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #631052;
/* rgb */ color: rgb(99, 16, 82);
/* oklch */ color: oklch(34.9% 0.136 338.1);
Tailwind
colors: {
  custom: {
    50: '#935a83',
    500: '#631052',
    950: '#000000',
  },
}
SCSS
$custom: #631052;
$custom-light: #935a83;
$custom-dark: #000000;
JSON
{
  "hex": "#631052",
  "rgb": {
    "r": 99,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 312.289,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34928,
    "c": 0.13584,
    "h": 338.1
  },
  "luminance": 0.03632
}

Semantic roles & 50–950 ramp

primary
#631052
secondary
#339C49
accent
#EF5E39
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #631052

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

Preview Lab → · Contrast checker → · Palette generator →

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