#51253D#51253D

#51253D is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.4% C 0.073 H 347.9°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#51253D
RGBrgb(81, 37, 61)
HSLhsl(327, 37%, 23%)
HSVhsv(327, 54%, 32%)
CMYKcmyk(0%, 54.3%, 24.7%, 68.2%)
CIE-LABlab(21.62, 23.92, -5.87)
CIE-LCHlch(21.62, 24.63, 346.22°)
OKLaboklab(33.38% 0.0717 -0.0154)
OKLCHoklch(33.38% 0.073 347.9)
XYZxyz(4.8973, 3.4098, 4.8142)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51253D #255139
analogous
#4F2551 #51253D #512527
triadic
#51253D #3D5125 #253D51
tetradic
#51253D #514F25 #255139 #252751
square
#51253D #514F25 #255139 #252751
split-complementary
#51253D #275125 #25514F
monochromatic
#150A10 #27121D #51253D #7B385D #A54B7C

Accessibility & contrast

On white

12.49
#51253D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#51253D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51253D
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51253D#FFFFFF#000000##FFFFFF
##51253D1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292F3E
Deuteranopia (green-blind)
#35373C
Tritanopia (blue-blind)
#56242E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #51253d;
/* rgb */ color: rgb(81, 37, 61);
/* oklch */ color: oklch(33.4% 0.073 347.9);
Tailwind
colors: {
  custom: {
    50: '#836172',
    500: '#51253d',
    950: '#000000',
  },
}
SCSS
$custom: #51253d;
$custom-light: #836172;
$custom-dark: #000000;
JSON
{
  "hex": "#51253d",
  "rgb": {
    "r": 81,
    "g": 37,
    "b": 61
  },
  "hsl": {
    "h": 327.273,
    "s": 37.288,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33382,
    "c": 0.07335,
    "h": 347.9
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

primary
#51253D
secondary
#4E8466
accent
#CD8F5B
background
#F8F5F6
surface
#EFEAEC
border
#CAC6C7
text
#0B0508
muted
#7C797B

Preview Lab

Preview with #51253D

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

Preview Lab → · Contrast checker → · Palette generator →

#51253D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva