#631254#631254

#631254 is a dark, vivid pink. Relative luminance 0.037; OKLCH L 35.2% C 0.135 H 336.9°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#631254
RGBrgb(99, 18, 84)
HSLhsl(311, 69%, 23%)
HSVhsv(311, 82%, 39%)
CMYKcmyk(0%, 81.8%, 15.2%, 61.2%)
CIE-LABlab(22.74, 42.21, -19.47)
CIE-LCHlch(22.74, 46.48, 335.24°)
OKLaboklab(35.2% 0.1244 -0.053)
OKLCHoklch(35.2% 0.135 336.9)
XYZxyz(6.9623, 3.7260, 8.7383)
Luminance0.0372 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631254 #126321
analogous
#491263 #631254 #63122B
triadic
#631254 #546312 #125463
tetradic
#631254 #634912 #126321 #122B63
square
#631254 #634912 #126321 #122B63
split-complementary
#631254 #2B6312 #126349
monochromatic
#1A0516 #2F0928 #631254 #971B80 #CB25AC

Accessibility & contrast

On white

12.03
#631254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#631254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631254
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631254#FFFFFF#000000##FFFFFF
##6312541.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142E56
Deuteranopia (green-blind)
#313B52
Tritanopia (blue-blind)
#691832
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #631254;
/* rgb */ color: rgb(99, 18, 84);
/* oklch */ color: oklch(35.2% 0.135 336.9);
Tailwind
colors: {
  custom: {
    50: '#935a84',
    500: '#631254',
    950: '#000000',
  },
}
SCSS
$custom: #631254;
$custom-light: #935a84;
$custom-dark: #000000;
JSON
{
  "hex": "#631254",
  "rgb": {
    "r": 99,
    "g": 18,
    "b": 84
  },
  "hsl": {
    "h": 311.111,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.35196,
    "c": 0.13522,
    "h": 336.9
  },
  "luminance": 0.03725
}

Semantic roles & 50–950 ramp

primary
#631254
secondary
#369B49
accent
#EC5C3C
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #631254

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

Preview Lab → · Contrast checker → · Palette generator →

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