#631252#631252

#631252 is a dark, vivid pink. Relative luminance 0.037; OKLCH L 35.1% C 0.134 H 338.2°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#631252
RGBrgb(99, 18, 82)
HSLhsl(313, 69%, 23%)
HSVhsv(313, 82%, 39%)
CMYKcmyk(0%, 81.8%, 17.2%, 61.2%)
CIE-LABlab(22.64, 41.89, -18.29)
CIE-LCHlch(22.64, 45.71, 336.41°)
OKLaboklab(35.08% 0.1242 -0.0497)
OKLCHoklch(35.08% 0.134 338.2)
XYZxyz(6.8850, 3.6951, 8.3316)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631252 #126323
analogous
#4C1263 #631252 #631229
triadic
#631252 #526312 #125263
tetradic
#631252 #634C12 #126323 #122963
square
#631252 #634C12 #126323 #122963
split-complementary
#631252 #296312 #12634C
monochromatic
#1A0515 #2F0927 #631252 #971B7D #CB25A8

Accessibility & contrast

On white

12.08
#631252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#631252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631252
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631252#FFFFFF#000000##FFFFFF
##6312521.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162E54
Deuteranopia (green-blind)
#323A50
Tritanopia (blue-blind)
#691731
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #631252;
/* rgb */ color: rgb(99, 18, 82);
/* oklch */ color: oklch(35.1% 0.134 338.2);
Tailwind
colors: {
  custom: {
    50: '#935a83',
    500: '#631252',
    950: '#000000',
  },
}
SCSS
$custom: #631252;
$custom-light: #935a83;
$custom-dark: #000000;
JSON
{
  "hex": "#631252",
  "rgb": {
    "r": 99,
    "g": 18,
    "b": 82
  },
  "hsl": {
    "h": 312.593,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.35084,
    "c": 0.13375,
    "h": 338.2
  },
  "luminance": 0.03694
}

Semantic roles & 50–950 ramp

primary
#631252
secondary
#369B4B
accent
#EC613C
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #631252

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

Preview Lab → · Contrast checker → · Palette generator →

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