#AF4258#AF4258

#AF4258 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.4% C 0.143 H 11.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AF4258
RGBrgb(175, 66, 88)
HSLhsl(348, 45%, 47%)
HSVhsv(348, 62%, 69%)
CMYKcmyk(0%, 62.3%, 49.7%, 31.4%)
CIE-LABlab(43.83, 46.27, 10.70)
CIE-LCHlch(43.83, 47.49, 13.03°)
OKLaboklab(53.38% 0.1402 0.0274)
OKLCHoklch(53.38% 0.143 11.1)
XYZxyz(21.3905, 13.7176, 10.7520)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4258 #42AF99
analogous
#AF428F #AF4258 #AF6342
triadic
#AF4258 #58AF42 #4258AF
tetradic
#AF4258 #8FAF42 #42AF99 #6342AF
square
#AF4258 #8FAF42 #42AF99 #6342AF
split-complementary
#AF4258 #42AF63 #428FAF
monochromatic
#56202B #833142 #AF4258 #C6687B #D795A2

Accessibility & contrast

On white

5.61
#AF4258 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AF4258 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4258
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4258#FFFFFF#000000##FFFFFF
##AF42581.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5A58
Deuteranopia (green-blind)
#767055
Tritanopia (blue-blind)
#BE324A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af4258;
/* rgb */ color: rgb(175, 66, 88);
/* oklch */ color: oklch(53.4% 0.143 11.1);
Tailwind
colors: {
  custom: {
    50: '#cc7c87',
    500: '#af4258',
    950: '#000000',
  },
}
SCSS
$custom: #af4258;
$custom-light: #cc7c87;
$custom-dark: #000000;
JSON
{
  "hex": "#af4258",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 88
  },
  "hsl": {
    "h": 347.89,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53382,
    "c": 0.14282,
    "h": 11.1
  },
  "luminance": 0.13715
}

Semantic roles & 50–950 ramp

primary
#AF4258
secondary
#8AC2B7
accent
#D5BB53
background
#FDF7F8
surface
#FAEEEF
border
#D3C9CA
text
#140A0B
muted
#837C7C

Preview Lab

Preview with #AF4258

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

Preview Lab → · Contrast checker → · Palette generator →

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