#AF3852#AF3852

#AF3852 is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.0% C 0.155 H 11.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AF3852
RGBrgb(175, 56, 82)
HSLhsl(347, 52%, 45%)
HSVhsv(347, 68%, 69%)
CMYKcmyk(0%, 68%, 53.1%, 31.4%)
CIE-LABlab(42.08, 50.07, 12.01)
CIE-LCHlch(42.08, 51.49, 13.49°)
OKLaboklab(52.04% 0.1516 0.0305)
OKLCHoklch(52.04% 0.155 11.4)
XYZxyz(20.6182, 12.5542, 9.3185)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3852 #38AF95
analogous
#AF388D #AF3852 #AF5A38
triadic
#AF3852 #52AF38 #3852AF
tetradic
#AF3852 #8DAF38 #38AF95 #5A38AF
square
#AF3852 #8DAF38 #38AF95 #5A38AF
split-complementary
#AF3852 #38AF5A #388DAF
monochromatic
#521A27 #81293C #AF3852 #CA5A73 #D9889A

Accessibility & contrast

On white

5.98
#AF3852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AF3852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3852
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3852#FFFFFF#000000##FFFFFF
##AF38521.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545452
Deuteranopia (green-blind)
#736C4F
Tritanopia (blue-blind)
#BF2242
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af3852;
/* rgb */ color: rgb(175, 56, 82);
/* oklch */ color: oklch(52.0% 0.155 11.4);
Tailwind
colors: {
  custom: {
    50: '#cc7682',
    500: '#af3852',
    950: '#000000',
  },
}
SCSS
$custom: #af3852;
$custom-light: #cc7682;
$custom-dark: #000000;
JSON
{
  "hex": "#af3852",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 82
  },
  "hsl": {
    "h": 346.891,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52036,
    "c": 0.15459,
    "h": 11.4
  },
  "luminance": 0.12552
}

Semantic roles & 50–950 ramp

primary
#AF3852
secondary
#80C3B4
accent
#DBBC4D
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14090A
muted
#837B7C

Preview Lab

Preview with #AF3852

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

Preview Lab → · Contrast checker → · Palette generator →

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